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