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:
b7b3a01
)
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
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Thu, 1 Mar 2012 00:31:13 +0000
(16:31 -0800)
commit
363434b5dc352464ac7601547891e5fc9105f124
upstream.
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: Dirk Eibach <eibach@gdsys.de>
Acked-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwmon/ads1015.c
patch
|
blob
|
history
diff --cc
drivers/hwmon/ads1015.c
Simple merge