diff options
author | Guenter Roeck <[email protected]> | 2012-02-22 08:13:52 -0800 |
---|---|---|
committer | Guenter Roeck <[email protected]> | 2012-02-23 06:47:41 -0800 |
commit | 363434b5dc352464ac7601547891e5fc9105f124 (patch) | |
tree | a4e4a64e24089b59f718d2f2ab1458609a10847c /tools/perf/scripts/python/Perf-Trace-Util/lib | |
parent | 2f2da1ac0ba5b6cc6e1957c4da5ff20e67d8442b (diff) |
hwmon: (ads1015) Fix file leak in probe function
An error while creating sysfs attribute files in the driver's probe function
results in an error abort, but already created files are not removed. This patch
fixes the problem.
Signed-off-by: Guenter Roeck <[email protected]>
Cc: [email protected] # 3.0+
Cc: Dirk Eibach <[email protected]>
Acked-by: Jean Delvare <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions