i2c: s3c2410: Fix code to free gpios
authorAbhilash Kesavan <a.kesavan@samsung.com>
Mon, 19 Nov 2012 10:18:46 +0000 (15:48 +0530)
committerWolfram Sang <w.sang@pengutronix.de>
Mon, 19 Nov 2012 10:55:39 +0000 (11:55 +0100)
commit963f2076e3b4d62e219b3fa60de7b50e335f5783
treead0ad3961c1eb6614ec2866bc8891c10af68bc5b
parentaedc256dd032fe9b0691fdd0f67b5e65e3e7bc0d
i2c: s3c2410: Fix code to free gpios

Store the requested gpios so that they can be freed on error/removal.

Signed-off-by: Abhilash Kesavan <a.kesavan@samsung.com>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
drivers/i2c/busses/i2c-s3c2410.c