git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f2da1a
)
hwmon: (ads1015) Fix file leak in probe function
author
Guenter Roeck
<guenter.roeck@ericsson.com>
Wed, 22 Feb 2012 16:13:52 +0000
(08:13 -0800)
committer
Guenter Roeck
<guenter.roeck@ericsson.com>
Thu, 23 Feb 2012 14:47:41 +0000
(06:47 -0800)
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 <guenter.roeck@ericsson.com>
Cc: stable@vger.kernel.org # 3.0+
Cc: Dirk Eibach <eibach@gdsys.de>
Acked-by: Jean Delvare <khali@linux-fr.org>
No differences found