commit | 560a64a2b501add585b494b2b9cd9f68c0636b50 | [log] [tgz] |
---|---|---|
author | Roel Kluin <[email protected]> | Mon Sep 21 17:04:48 2009 -0700 |
committer | Linus Torvalds <[email protected]> | Tue Sep 22 07:17:49 2009 -0700 |
tree | 76ff9e60110a388e551f17b2071405eeea5f1c71 | |
parent | 905ffdc35e50844ab45bbc59d5302238844f8526 [diff] |
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 <[email protected]> Acked-by: Jonathan Cameron <[email protected]> Cc: David Brownell <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>