]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/acpi/battery.c
ACPI: struct device - replace bus_id with dev_name(), dev_set_name()
[karo-tx-linux.git] / drivers / acpi / battery.c
index b2133e89ad9a6debafa3dbad49cf998daad80ec7..e68f2187ed64de7bbdb5a3fd24be81ca1d0d3ed2 100644 (file)
@@ -782,7 +782,7 @@ static void acpi_battery_notify(acpi_handle handle, u32 event, void *data)
        acpi_bus_generate_proc_event(device, event,
                                     acpi_battery_present(battery));
        acpi_bus_generate_netlink_event(device->pnp.device_class,
-                                       device->dev.bus_id, event,
+                                       dev_name(&device->dev), event,
                                        acpi_battery_present(battery));
 #ifdef CONFIG_ACPI_SYSFS_POWER
        /* acpi_batter_update could remove power_supply object */