From: Jan Beulich Date: Mon, 13 Sep 2010 10:14:43 +0000 (+0000) Subject: x86/hwmon: don't leak device attribute file from pkgtemp_probe() and pkgtemp_remove() X-Git-Tag: v2.6.36-rc6~33^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d172132f358552eabd7a7410e478ffeead445243;p=pandora-kernel.git x86/hwmon: don't leak device attribute file from pkgtemp_probe() and pkgtemp_remove() While apparently inherited from coretemp source, this particular error handling cleanup and exit path wasn't copied properly (or perhaps got discarded intermediately and not re-added properly later). Signed-off-by: Jan Beulich Cc: Fenghua Yu Signed-off-by: Guenter Roeck (added device file removal in pkgtemp_remove) --- Reading git-diff-tree failed