From: Roel Kluin Date: Tue, 22 Sep 2009 00:04:48 +0000 (-0700) Subject: hwmon: fix freeing of gpio_data and irq X-Git-Tag: v2.6.32-rc1~418 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=560a64a2b501add585b494b2b9cd9f68c0636b50;p=pandora-kernel.git 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 Acked-by: Jonathan Cameron Cc: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed