ACPI / battery: Fix incorrect sscanf() string in acpi_battery_init_alarm()
authorLuis G.F <luisgf@luisgf.es>
Tue, 21 Jan 2014 14:40:43 +0000 (15:40 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 5 Feb 2014 00:07:54 +0000 (01:07 +0100)
commit47a08c85f70ebdbaaf42b444af57dd6f83e04485
treee5b9f82d3b7d488ae0dbfcc32178308d72e1fd1b
parent085ca1175cdccc8e400f6d06cf64e209b46021a2
ACPI / battery: Fix incorrect sscanf() string in acpi_battery_init_alarm()

Fix incorrect sscanf() string in acpi_battery_init_alarm().
Change from %ld to %lu, because 'x' is unsigned long.

Signed-off-by: Luis G.F <luisgf@luisgf.es>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/battery.c