hwmon: (nct6775) Fix probe unwind paths to properly unregister platform devices
authorAxel Lin <axel.lin@ingics.com>
Sat, 24 May 2014 15:21:23 +0000 (23:21 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Sat, 24 May 2014 15:30:29 +0000 (08:30 -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