From: Axel Lin Date: Sat, 24 May 2014 15:04:22 +0000 (+0800) Subject: hwmon: (nct6683) Fix probe unwind paths to properly unregister platform devices X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~32^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30190c3c6181470203e6f635166496aa640ffe06;p=pandora-kernel.git 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 Signed-off-by: Guenter Roeck --- Reading git-diff-tree failed