forked from Minki/linux
battery: fix typo in comment
Signed-off-by: Justin P. Mattock <justinmattock@gmail.com> Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
parent
edb9491852
commit
2345baf4a8
@ -831,7 +831,7 @@ static void acpi_battery_notify(struct acpi_device *device, u32 event)
|
|||||||
dev_name(&device->dev), event,
|
dev_name(&device->dev), event,
|
||||||
acpi_battery_present(battery));
|
acpi_battery_present(battery));
|
||||||
#ifdef CONFIG_ACPI_SYSFS_POWER
|
#ifdef CONFIG_ACPI_SYSFS_POWER
|
||||||
/* acpi_batter_update could remove power_supply object */
|
/* acpi_battery_update could remove power_supply object */
|
||||||
if (battery->bat.dev)
|
if (battery->bat.dev)
|
||||||
kobject_uevent(&battery->bat.dev->kobj, KOBJ_CHANGE);
|
kobject_uevent(&battery->bat.dev->kobj, KOBJ_CHANGE);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user