summaryrefslogtreecommitdiffstats
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)
downloadblackbird-op-linux-9b5a56ddfd615a27e3a0856ceae1592a24021e42.tar.gz
blackbird-op-linux-9b5a56ddfd615a27e3a0856ceae1592a24021e42.zip
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)
acpi_ac_get_state(ac);
acpi_bus_generate_proc_event(device, event, (u32) ac->state);
acpi_bus_generate_netlink_event(device->pnp.device_class,
- device->dev.bus_id, event,
+ dev_name(&device->dev), event,
(u32) ac->state);
#ifdef CONFIG_ACPI_SYSFS_POWER
kobject_uevent(&ac->charger.dev->kobj, KOBJ_CHANGE);
OpenPOWER on IntegriCloud