aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/coretemp.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2010-09-13 10:14:43 +0000
committerGuenter Roeck <guenter.roeck@ericsson.com>2010-09-24 11:44:19 -0700
commitd172132f358552eabd7a7410e478ffeead445243 (patch)
tree89a88cc03fd1b60d047820900268b5187a77bb33 /drivers/hwmon/coretemp.c
parentx86/hwmon: avoid deadlock on CPU removal in pkgtemp (diff)
downloadlinux-dev-d172132f358552eabd7a7410e478ffeead445243.tar.xz
linux-dev-d172132f358552eabd7a7410e478ffeead445243.zip
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 <jbeulich@novell.com> Cc: Fenghua Yu <fenghua.yu@intel.com> Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com> (added device file removal in pkgtemp_remove)
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions