summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTony Jones <tonyj@suse.de>2007-08-21 00:46:20 +0400
committerMark M. Hoffman <mhoffman@lightlink.com>2007-10-10 06:56:30 +0400
commit1beeffe43311f64df8dd0ab08ff6b1858c58363f (patch)
tree039324186049a69f3c791165e90404aef497f3cc /include
parent59a35bafb223bbb0553ba1a3bb9280bda668a8d8 (diff)
downloadlinux-1beeffe43311f64df8dd0ab08ff6b1858c58363f.tar.xz
hwmon: Convert from class_device to device
Convert from class_device to device for hwmon_device_register/unregister Signed-off-by: Tony Jones <tonyj@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/hwmon.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/hwmon.h b/include/linux/hwmon.h
index 0efd994c37f1..6b6ee702b007 100644
--- a/include/linux/hwmon.h
+++ b/include/linux/hwmon.h
@@ -16,9 +16,9 @@
#include <linux/device.h>
-struct class_device *hwmon_device_register(struct device *dev);
+struct device *hwmon_device_register(struct device *dev);
-void hwmon_device_unregister(struct class_device *cdev);
+void hwmon_device_unregister(struct device *dev);
/* Scale user input to sensible values */
static inline int SENSORS_LIMIT(long value, long low, long high)