[PATCH] Fixed hwmon_register_device() error regression

2017-05-28 Thread Josh Benson
Signed-off-by: Josh Benson <handle2...@gmail.com> --- drivers/thermal/thermal_hwmon.c | 20 +++- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/drivers/thermal/thermal_hwmon.c b/drivers/thermal/thermal_hwmon.c index 541af5946203..c4a508a124dc 100644 --- a/d

[PATCH] Fixed hwmon_register_device() error regression

2017-05-28 Thread Josh Benson
Signed-off-by: Josh Benson --- drivers/thermal/thermal_hwmon.c | 20 +++- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/drivers/thermal/thermal_hwmon.c b/drivers/thermal/thermal_hwmon.c index 541af5946203..c4a508a124dc 100644 --- a/drivers/thermal/thermal_hwmon.c