diff options
Diffstat (limited to 'drivers/power')
-rw-r--r-- | drivers/power/olpc_battery.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/power/olpc_battery.c b/drivers/power/olpc_battery.c index dc60f61a3b9e..21e7c06724bf 100644 --- a/drivers/power/olpc_battery.c +++ b/drivers/power/olpc_battery.c | |||
@@ -525,14 +525,6 @@ static struct power_supply olpc_bat = { | |||
525 | .use_for_apm = 1, | 525 | .use_for_apm = 1, |
526 | }; | 526 | }; |
527 | 527 | ||
528 | void olpc_battery_trigger_uevent(unsigned long cause) | ||
529 | { | ||
530 | if (cause & EC_SCI_SRC_ACPWR) | ||
531 | kobject_uevent(&olpc_ac.dev->kobj, KOBJ_CHANGE); | ||
532 | if (cause & (EC_SCI_SRC_BATERR|EC_SCI_SRC_BATSOC|EC_SCI_SRC_BATTERY)) | ||
533 | kobject_uevent(&olpc_bat.dev->kobj, KOBJ_CHANGE); | ||
534 | } | ||
535 | |||
536 | static int olpc_battery_suspend(struct platform_device *pdev, | 528 | static int olpc_battery_suspend(struct platform_device *pdev, |
537 | pm_message_t state) | 529 | pm_message_t state) |
538 | { | 530 | { |