History

thermal: Rename generate_netlink_event

It doesn't seem right for the thermal subsystem to export a symbol named generate_netlink_event. This function is thermal-specific and its name should reflect that fact. Rename it to thermal_generate_netlink_event.

Jean Delvare committed 15 years ago

Commit 2d58d7e1 parent dcd6c923 files · +5 −5Browse files

Showing the changes to include (1 of 3 files). Show all

Unified · Split

include/linux/thermal.h+2−2
@@ -152,9 +152,9 @@ struct thermal_cooling_device *thermal_cooling_device_register(char *, void *, · 151 unmodified lines
152152 void thermal_cooling_device_unregister(struct thermal_cooling_device *);
153153
154154 #ifdef CONFIG_NET
155−extern int generate_netlink_event(u32 orig, enum events event);
155+extern int thermal_generate_netlink_event(u32 orig, enum events event);
156156 #else
157−static inline int generate_netlink_event(u32 orig, enum events event)
157+static inline int thermal_generate_netlink_event(u32 orig, enum events event)
158158 {
159159 return 0;
160160 }