Revert "thermal: thermal_hwmon: Convert to hwmon_device_register_with_info()"
authorFabio Estevam <fabio.estevam@nxp.com>
Mon, 23 Jan 2017 15:13:58 +0000 (13:13 -0200)
committerZhang Rui <rui.zhang@intel.com>
Wed, 25 Jan 2017 01:51:08 +0000 (09:51 +0800)
commit3feb479cea37fc623cf4e705631b2e679cbfbd7a
treee9ff7cb97c3819034528e091b784a7a397bccf6e
parent883af14e67e8b8702b5560aa64c888c0cd0bd66c
Revert "thermal: thermal_hwmon: Convert to hwmon_device_register_with_info()"

This reverts commit 7611fb68062f ("thermal: thermal_hwmon: Convert to
hwmon_device_register_with_info()").

Pavel Machek reported breakage in the Nokia N900 due to this commit.

We can revisit a proper fix for the warning later.

Reported-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/thermal_hwmon.c