Home
last modified time | relevance | path

Searched hist:"4612 c7f1" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/acpi/
H A Dsysfs.c4612c7f1 Tue Nov 01 16:13:57 CDT 2022 Christophe JAILLET <christophe.jaillet@wanadoo.fr> ACPI: sysfs: 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: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>