Roel Kluin 560a64a2b5 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>
2009-09-22 07:17:49 -07:00
..
2008-08-15 08:35:43 -07:00
2009-03-30 15:22:04 +02:00
2009-06-16 19:47:57 -07:00
2009-09-22 07:17:49 -07:00
2009-01-07 16:37:34 +01:00
2009-04-01 08:59:21 -07:00
2009-01-07 16:37:32 +01:00
2009-07-11 13:42:37 +02:00
2009-09-15 17:18:13 +02:00
2009-03-30 21:46:43 +02:00
2009-09-15 17:18:13 +02:00