ACPI: battery drivers should call power_supply_changed()
authorAlan Jenkins <alan-jenkins@tuffmail.co.uk>
Tue, 30 Jun 2009 14:36:16 +0000 (14:36 +0000)
committerLen Brown <len.brown@intel.com>
Sun, 4 Apr 2010 23:53:23 +0000 (19:53 -0400)
commitf79e1cec8c8aa64895fd7b595dc7b48157df0754
treefe54a474018cd1561dee79049a4fa22d2a62a9c4
parente363a755e8033e18f733fc0d1687039df8efade0
ACPI: battery drivers should call power_supply_changed()

Calling kobject_uevent() directly is a layering violation.  In
particular, it means we'll miss updating the generic LED trigger.

Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
Acked-by: Alexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/battery.c