diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-09-22 02:04:48 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-22 16:17:49 +0200 |
commit | 560a64a2b501add585b494b2b9cd9f68c0636b50 (patch) | |
tree | 76ff9e60110a388e551f17b2071405eeea5f1c71 /drivers/hwmon/gl518sm.c | |
parent | drivers/hwmon/adm1021.c: add low_power support for adm1021 driver (diff) | |
download | linux-560a64a2b501add585b494b2b9cd9f68c0636b50.tar.xz linux-560a64a2b501add585b494b2b9cd9f68c0636b50.zip |
hwmon: fix freeing of gpio_data and irq
If already requested, gpio_data and irq should be freed in the case of an
error.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/hwmon/gl518sm.c')
0 files changed, 0 insertions, 0 deletions