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)
commit30190c3c6181470203e6f635166496aa640ffe06
tree7d2ea782fed9f713a33122c81a5210a9a11d350b
parente8cba3cda44e1b042a64ab43d15d4d77c2038235
hwmon: (nct6683) 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/nct6683.c
This page took 0.026523 seconds and 5 git commands to generate.