scsi: target: Use kstrtobool() instead of strtobool()
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Tue, 1 Nov 2022 21:13:52 +0000 (22:13 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 8 Nov 2022 03:53:37 +0000 (03:53 +0000)
commite56ca6bcd2136207868516f5a304fbb82cc0cb82
tree7b4b943cf79a73befa2970974e8414fde86f00e2
parentbc81131813aaf6fe764d1cc6b942a35a8c0c5c36
scsi: target: 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>
Link: https://lore.kernel.org/r/fcddc0a53b4fc6e3c2e93592d3f61c5c63121855.1667336095.git.christophe.jaillet@wanadoo.fr
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/target/target_core_configfs.c
drivers/target/target_core_fabric_configfs.c