Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 286739
b: refs/heads/master
c: 2d58d7e
h: refs/heads/master
i:
  286737: 61db246
  286735: bdd3c73
v: v3
  • Loading branch information
Jean Delvare authored and Len Brown committed Jan 23, 2012
1 parent c7aace8 commit bd4dd88
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 14 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: 93f770846e8dedc5d9117bd4ad9d7efd18420627
refs/heads/master: 2d58d7ea9164da59d0ea82fdf80e3ababe52d58c
2 changes: 1 addition & 1 deletion trunk/Documentation/thermal/sysfs-api.txt
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ method, the sys I/F structure will be built like this:
The framework includes a simple notification mechanism, in the form of a
netlink event. Netlink socket initialization is done during the _init_
of the framework. Drivers which intend to use the notification mechanism
just need to call generate_netlink_event() with two arguments viz
just need to call thermal_generate_netlink_event() with two arguments viz
(originator, event). Typically the originator will be an integer assigned
to a thermal_zone_device when it registers itself with the framework. The
event will be one of:{THERMAL_AUX0, THERMAL_AUX1, THERMAL_CRITICAL,
Expand Down
8 changes: 0 additions & 8 deletions trunk/drivers/acpi/sleep.c
Original file line number Diff line number Diff line change
Expand Up @@ -438,14 +438,6 @@ static struct dmi_system_id __initdata acpisleep_dmi_table[] = {
},
{
.callback = init_nvs_nosave,
.ident = "Sony Vaio VPCCW29FX",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "Sony Corporation"),
DMI_MATCH(DMI_PRODUCT_NAME, "VPCCW29FX"),
},
},
{
.callback = init_nvs_nosave,
.ident = "Averatec AV1020-ED2",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "AVERATEC"),
Expand Down
4 changes: 2 additions & 2 deletions trunk/drivers/thermal/thermal_sys.c
Original file line number Diff line number Diff line change
Expand Up @@ -1304,7 +1304,7 @@ static struct genl_multicast_group thermal_event_mcgrp = {
.name = THERMAL_GENL_MCAST_GROUP_NAME,
};

int generate_netlink_event(u32 orig, enum events event)
int thermal_generate_netlink_event(u32 orig, enum events event)
{
struct sk_buff *skb;
struct nlattr *attr;
Expand Down Expand Up @@ -1363,7 +1363,7 @@ int generate_netlink_event(u32 orig, enum events event)

return result;
}
EXPORT_SYMBOL(generate_netlink_event);
EXPORT_SYMBOL(thermal_generate_netlink_event);

static int genetlink_init(void)
{
Expand Down
4 changes: 2 additions & 2 deletions trunk/include/linux/thermal.h
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,9 @@ struct thermal_cooling_device *thermal_cooling_device_register(char *, void *,
void thermal_cooling_device_unregister(struct thermal_cooling_device *);

#ifdef CONFIG_NET
extern int generate_netlink_event(u32 orig, enum events event);
extern int thermal_generate_netlink_event(u32 orig, enum events event);
#else
static inline int generate_netlink_event(u32 orig, enum events event)
static inline int thermal_generate_netlink_event(u32 orig, enum events event)
{
return 0;
}
Expand Down

0 comments on commit bd4dd88

Please sign in to comment.