nvme: use kstrtobool() instead of strtobool()
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Thu, 24 Nov 2022 21:28:12 +0000 (22:28 +0100)
committerChristoph Hellwig <hch@lst.de>
Tue, 6 Dec 2022 08:16:56 +0000 (09:16 +0100)
commit99722c8aa8b994db15ef60965c33f6a8e399b36c
tree6b693f22e02cc4770309a7d1527baf24f0c15275
parentba0718a6d67130fd4bff664b86d2aa63fa49e241
nvme: 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>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/pci.c
drivers/nvme/target/configfs.c