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>
This commit is contained in:
committed by
Mark M. Hoffman
parent
59a35bafb2
commit
1beeffe433
@ -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)
|
||||
|
Reference in New Issue
Block a user