platform/x86: thinkpad_acpi: Replace custom approach by kstrtoint()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 11 May 2020 12:54:14 +0000 (15:54 +0300)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 15 May 2020 12:45:15 +0000 (15:45 +0300)
commit466f469733263d80ac53d321130d13eea3d875a4
tree9e08c64a96ca2e5bd2c69eb1ef784188ad95cc14
parent35d13c7a05126a5a54a1ef40aff4c6984474e604
platform/x86: thinkpad_acpi: Replace custom approach by kstrtoint()

Call kstrtoint(), where appropriate, instead of using custom approach.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/thinkpad_acpi.c