summaryrefslogtreecommitdiffstats
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
parentd9bca4358286584cc22f4261ee3a60cad01aa4d4 (diff)
downloadop-kernel-dev-d172132f358552eabd7a7410e478ffeead445243.zip
op-kernel-dev-d172132f358552eabd7a7410e478ffeead445243.tar.gz
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 'drivers/hwmon/coretemp.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud