arm64: cpufeature: Use kstrtobool() instead of strtobool()
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Tue, 1 Nov 2022 21:14:12 +0000 (22:14 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 20 Jan 2023 17:51:23 +0000 (17:51 +0000)
commit1a920c92cd0c09bb7f94d18029c6dd524035e190
treee47307eba6458dddddbfd8a98f4d3757193153eb
parenta89c6bcdac22bec1bfbe6e64060b4cf5838d4f47
arm64: cpufeature: Use kstrtobool() instead of strtobool()

strtobool() is the same as kstrtobool().
However, the latter is more used within the kernel.

In order to remove strtobool() and slightly simplify kstrtox.h, switch to
the other function name.

While at it, include the corresponding header file (<linux/kstrtox.h>)

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Link: https://lore.kernel.org/r/5a1b329cda34aec67615c0d2fd326eb0d6634bf7.1667336095.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/cpufeature.c