commit | d172132f358552eabd7a7410e478ffeead445243 | [log] [tgz] |
---|---|---|
author | Jan Beulich <jbeulich@novell.com> | Mon Sep 13 10:14:43 2010 +0000 |
committer | Guenter Roeck <guenter.roeck@ericsson.com> | Fri Sep 24 11:44:19 2010 -0700 |
tree | 89a88cc03fd1b60d047820900268b5187a77bb33 | |
parent | d9bca4358286584cc22f4261ee3a60cad01aa4d4 [diff] |
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)