Arnaud Ebalard 6b19b66013 hwmon: (g762) fix call to devm_hwmon_device_register_with_groups()
g762_remove() needs to first call hwmon_device_unregister() and then
g762_of_clock_disable(). For that reason, it is not possible to
convert it to devm_hwmon_device_register_with_groups() and the
the non device managed version must be used.

This is correctly stated in commit message for 398e16db6262 ("hwmon:
(g762) Convert to hwmon_device_register_with_groups") but the
associated changes do in fact introduce a call to the device managed
version of the function.

This patch fixes that typo by switching to the non devm_ version.

Fixes: 398e16db6262 ("hwmon: (g762) Convert to hwmon_device_register_with_groups")
Cc: stable@vger.kernel.org (3.17+)
Signed-off-by: Arnaud Ebalard <arno@natisbad.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2014-11-19 14:06:47 -08:00
..
2013-10-18 09:12:02 -07:00
2013-10-18 09:12:02 -07:00
2014-01-29 20:40:08 +01:00
2014-08-04 07:01:35 -07:00
2013-08-27 08:28:01 -07:00
2014-07-23 15:01:44 -07:00
2014-04-04 18:01:35 +02:00
2014-08-04 07:01:36 -07:00
2014-08-04 07:01:34 -07:00
2013-03-18 21:19:49 +01:00
2014-08-05 19:44:42 -07:00
2014-08-04 07:01:35 -07:00
2014-08-04 07:01:35 -07:00
2014-08-04 07:01:35 -07:00
2014-01-29 20:40:08 +01:00
2013-08-11 22:10:39 -07:00
2014-01-29 20:40:08 +01:00
2012-11-28 11:49:40 -08:00
2012-11-28 11:49:40 -08:00
2014-01-29 20:40:08 +01:00
2014-01-29 20:40:08 +01:00