hwmon: (nct6683) Fix probe unwind paths to properly unregister platform devices
authorAxel Lin <axel.lin@ingics.com>
Sat, 24 May 2014 15:04:22 +0000 (23:04 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Sat, 24 May 2014 15:28:24 +0000 (08:28 -0700)
Call platform_device_unregister() rather than platform_device_put() to
unregister successfully registered platform devices.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>

No differences found