Skip to content
Commit 9d311edd authored by Axel Lin's avatar Axel Lin Committed by Guenter Roeck
Browse files

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: default avatarAxel Lin <axel.lin@ingics.com>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 30190c3c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment