aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/thermal.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/thermal.c
parenta0017f471054a46379abbc4c96e269deaff5d9d9 (diff)
parent0794469da3f7b2093575cbdfc1108308dd3641ce (diff)
Merge branch 'sysfs' into release
Diffstat (limited to 'drivers/acpi/thermal.c')
-rw-r--r--drivers/acpi/thermal.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/acpi/thermal.c b/drivers/acpi/thermal.c
index a6da1d9918c7..073ff09218a9 100644
--- a/drivers/acpi/thermal.c
+++ b/drivers/acpi/thermal.c
@@ -575,7 +575,7 @@ static int acpi_thermal_critical(struct acpi_thermal *tz)
575 acpi_bus_generate_proc_event(tz->device, ACPI_THERMAL_NOTIFY_CRITICAL, 575 acpi_bus_generate_proc_event(tz->device, ACPI_THERMAL_NOTIFY_CRITICAL,
576 tz->trips.critical.flags.enabled); 576 tz->trips.critical.flags.enabled);
577 acpi_bus_generate_netlink_event(tz->device->pnp.device_class, 577 acpi_bus_generate_netlink_event(tz->device->pnp.device_class,
578 tz->device->dev.bus_id, 578 dev_name(&tz->device->dev),
579 ACPI_THERMAL_NOTIFY_CRITICAL, 579 ACPI_THERMAL_NOTIFY_CRITICAL,
580 tz->trips.critical.flags.enabled); 580 tz->trips.critical.flags.enabled);
581 581
@@ -604,7 +604,7 @@ static int acpi_thermal_hot(struct acpi_thermal *tz)
604 acpi_bus_generate_proc_event(tz->device, ACPI_THERMAL_NOTIFY_HOT, 604 acpi_bus_generate_proc_event(tz->device, ACPI_THERMAL_NOTIFY_HOT,
605 tz->trips.hot.flags.enabled); 605 tz->trips.hot.flags.enabled);
606 acpi_bus_generate_netlink_event(tz->device->pnp.device_class, 606 acpi_bus_generate_netlink_event(tz->device->pnp.device_class,
607 tz->device->dev.bus_id, 607 dev_name(&tz->device->dev),
608 ACPI_THERMAL_NOTIFY_HOT, 608 ACPI_THERMAL_NOTIFY_HOT,
609 tz->trips.hot.flags.enabled); 609 tz->trips.hot.flags.enabled);
610 610
@@ -1591,14 +1591,14 @@ static void acpi_thermal_notify(acpi_handle handle, u32 event, void *data)
1591 acpi_thermal_check(tz); 1591 acpi_thermal_check(tz);
1592 acpi_bus_generate_proc_event(device, event, 0); 1592 acpi_bus_generate_proc_event(device, event, 0);
1593 acpi_bus_generate_netlink_event(device->pnp.device_class, 1593 acpi_bus_generate_netlink_event(device->pnp.device_class,
1594 device->dev.bus_id, event, 0); 1594 dev_name(&device->dev), event, 0);
1595 break; 1595 break;
1596 case ACPI_THERMAL_NOTIFY_DEVICES: 1596 case ACPI_THERMAL_NOTIFY_DEVICES:
1597 acpi_thermal_trips_update(tz, ACPI_TRIPS_REFRESH_DEVICES); 1597 acpi_thermal_trips_update(tz, ACPI_TRIPS_REFRESH_DEVICES);
1598 acpi_thermal_check(tz); 1598 acpi_thermal_check(tz);
1599 acpi_bus_generate_proc_event(device, event, 0); 1599 acpi_bus_generate_proc_event(device, event, 0);
1600 acpi_bus_generate_netlink_event(device->pnp.device_class, 1600 acpi_bus_generate_netlink_event(device->pnp.device_class,
1601 device->dev.bus_id, event, 0); 1601 dev_name(&device->dev), event, 0);
1602 break; 1602 break;
1603 default: 1603 default:
1604 ACPI_DEBUG_PRINT((ACPI_DB_INFO, 1604 ACPI_DEBUG_PRINT((ACPI_DB_INFO,