Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 283432
b: refs/heads/master
c: 7ab2f02
h: refs/heads/master
v: v3
  • Loading branch information
Anton Vorontsov committed Nov 24, 2011
1 parent d8119e9 commit 558b69d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5519d00e6a5d99a163484722ef7cea8bff47bc58
refs/heads/master: 7ab2f0207dd493e9ac8bae78324cf5592fa92650
8 changes: 0 additions & 8 deletions trunk/drivers/power/olpc_battery.c
Original file line number Diff line number Diff line change
Expand Up @@ -525,14 +525,6 @@ static struct power_supply olpc_bat = {
.use_for_apm = 1,
};

void olpc_battery_trigger_uevent(unsigned long cause)
{
if (cause & EC_SCI_SRC_ACPWR)
kobject_uevent(&olpc_ac.dev->kobj, KOBJ_CHANGE);
if (cause & (EC_SCI_SRC_BATERR|EC_SCI_SRC_BATSOC|EC_SCI_SRC_BATTERY))
kobject_uevent(&olpc_bat.dev->kobj, KOBJ_CHANGE);
}

static int olpc_battery_suspend(struct platform_device *pdev,
pm_message_t state)
{
Expand Down

0 comments on commit 558b69d

Please sign in to comment.