net: usb: Use kstrtobool() instead of strtobool()
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Wed, 2 Nov 2022 06:36:23 +0000 (07:36 +0100)
committerJakub Kicinski <kuba@kernel.org>
Fri, 4 Nov 2022 03:56:22 +0000 (20:56 -0700)
commitc2cce3a6e8ebe0e694e3380f8e60cd20bf21df82
tree3f3baa2c112266f168eaf8da3e398b9da4a18a5f
parent7712b3e966eaf691571115dd45dbf2a777081e4f
net: usb: 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/d4432a67b6f769cac0a9ec910ac725298b64e102.1667336095.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/usb/cdc_ncm.c
drivers/net/usb/qmi_wwan.c