nvdimm: Use kstrtobool() instead of strtobool()
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Thu, 13 Jul 2023 04:50:09 +0000 (06:50 +0200)
committerDave Jiang <dave.jiang@intel.com>
Wed, 19 Jul 2023 15:42:50 +0000 (08:42 -0700)
commit44f23dabdc08698b7a066300eb55db23895f5459
treef8dbfdfd3f37b5c6b2c1c79c58e871c64fc68d51
parentfdf0eaf11452d72945af31804e2a1048ee1b574c
nvdimm: 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>)

Reviewed-by: Vishal Verma <vishal.l.verma@intel.com>
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
drivers/nvdimm/namespace_devs.c
drivers/nvdimm/pmem.c
drivers/nvdimm/region_devs.c