summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorGuenter Roeck <guenter.roeck@ericsson.com>2012-02-22 08:13:52 -0800
committerGuenter Roeck <guenter.roeck@ericsson.com>2012-02-23 06:47:41 -0800
commit363434b5dc352464ac7601547891e5fc9105f124 (patch)
treea4e4a64e24089b59f718d2f2ab1458609a10847c /arch
parent2f2da1ac0ba5b6cc6e1957c4da5ff20e67d8442b (diff)
downloadlinux-3.10-363434b5dc352464ac7601547891e5fc9105f124.tar.gz
linux-3.10-363434b5dc352464ac7601547891e5fc9105f124.tar.bz2
linux-3.10-363434b5dc352464ac7601547891e5fc9105f124.zip
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 <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>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions