module: Use kstrtobool() instead of strtobool()
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Tue, 1 Nov 2022 21:14:06 +0000 (22:14 +0100)
committerLuis Chamberlain <mcgrof@kernel.org>
Wed, 25 Jan 2023 22:07:21 +0000 (14:07 -0800)
commitfbed4fea6422a237382bf317db88a37993955f3b
tree981fdc5d1f44ce458e5f04caa499535e3bc54bc3
parentdef7b92efd868a6c78da86770704c1a03506016e
module: 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: Luis Chamberlain <mcgrof@kernel.org>
Reviewed-by: Aaron Tomlin <atomlin@atomlin.com>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
kernel/module/main.c