aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/ac.c
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2008-11-11 21:14:49 -0500
committerLen Brown <len.brown@intel.com>2008-11-11 21:14:49 -0500
commit9b5a56ddfd615a27e3a0856ceae1592a24021e42 (patch)
treef7ae71e5f74d3aac8cad93f44f7022b935ac9057 /drivers/acpi/ac.c
parenta0017f471054a46379abbc4c96e269deaff5d9d9 (diff)
parent0794469da3f7b2093575cbdfc1108308dd3641ce (diff)
Merge branch 'sysfs' into release
Diffstat (limited to 'drivers/acpi/ac.c')
-rw-r--r--drivers/acpi/ac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/ac.c b/drivers/acpi/ac.c
index 5cdd713a0eaf..9b917dac7732 100644
--- a/drivers/acpi/ac.c
+++ b/drivers/acpi/ac.c
@@ -241,7 +241,7 @@ static void acpi_ac_notify(acpi_handle handle, u32 event, void *data)
241 acpi_ac_get_state(ac); 241 acpi_ac_get_state(ac);
242 acpi_bus_generate_proc_event(device, event, (u32) ac->state); 242 acpi_bus_generate_proc_event(device, event, (u32) ac->state);
243 acpi_bus_generate_netlink_event(device->pnp.device_class, 243 acpi_bus_generate_netlink_event(device->pnp.device_class,
244 device->dev.bus_id, event, 244 dev_name(&device->dev), event,
245 (u32) ac->state); 245 (u32) ac->state);
246#ifdef CONFIG_ACPI_SYSFS_POWER 246#ifdef CONFIG_ACPI_SYSFS_POWER
247 kobject_uevent(&ac->charger.dev->kobj, KOBJ_CHANGE); 247 kobject_uevent(&ac->charger.dev->kobj, KOBJ_CHANGE);