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)
commit9d311eddf3565ed0e05b3cb5a22db41fa74d9d86
treeffd5f8cb949f8b1c347f93589cad4b295cea8f38
parent30190c3c6181470203e6f635166496aa640ffe06
hwmon: (nct6775) Fix probe unwind paths to properly unregister platform devices

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>
drivers/hwmon/nct6775.c
This page took 0.024232 seconds and 5 git commands to generate.