ACPI: use kstrto*() instead of simple_strto*()
authorChristoph Jaeger <christophjaeger@linux.com>
Fri, 13 Jun 2014 19:49:58 +0000 (21:49 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 17 Jun 2014 12:01:56 +0000 (14:01 +0200)
commit3d915894f8317ac3e55b47da829aa65eb5f9ae97
treef8e523b5f549d1a3779c01b51c2900f057e52dd7
parent7171511eaec5bf23fb06078f59784a3a0626b38f
ACPI: use kstrto*() instead of simple_strto*()

simple_strto*() are obsolete; use kstrto*() instead. Add proper error
checking.

Signed-off-by: Christoph Jaeger <christophjaeger@linux.com>
Acked-by: David Rientjes <rientjes@google.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/battery.c
drivers/acpi/osl.c
drivers/acpi/tables.c