kernel/params.c: Use kstrtobool() instead of strtobool()
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sat, 14 Jan 2023 09:08:13 +0000 (10:08 +0100)
committerLuis Chamberlain <mcgrof@kernel.org>
Wed, 25 Jan 2023 22:07:21 +0000 (14:07 -0800)
commitdef7b92efd868a6c78da86770704c1a03506016e
tree7e3b0418a037183bdf33a025fcba1440c6ab7162
parentc093a74dac1c008daee92d6d613e9e3fe20b6585
kernel/params.c: 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>
Reviewed-by: Miroslav Benes <mbenes@suse.cz>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
kernel/params.c