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
@@ -517,7 +517,7 @@ static char *next_cmd(char **cmds)
|
||||
****************************************************************************/
|
||||
|
||||
static struct platform_device *tpacpi_pdev;
|
||||
static struct class_device *tpacpi_hwmon;
|
||||
static struct device *tpacpi_hwmon;
|
||||
static struct input_dev *tpacpi_inputdev;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user