diff options
author | Axel Lin <axel.lin@ingics.com> | 2014-05-24 23:21:23 +0800 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2014-05-24 08:30:29 -0700 |
commit | 9d311eddf3565ed0e05b3cb5a22db41fa74d9d86 (patch) | |
tree | ffd5f8cb949f8b1c347f93589cad4b295cea8f38 /security | |
parent | 30190c3c6181470203e6f635166496aa640ffe06 (diff) | |
download | op-kernel-dev-9d311eddf3565ed0e05b3cb5a22db41fa74d9d86.zip op-kernel-dev-9d311eddf3565ed0e05b3cb5a22db41fa74d9d86.tar.gz |
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>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions