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:54:54 +0000 (11:54 +0100)
commit3b2f3ceb3c7f4a8c2d11aa7652842e5ce1b0dcc3
tree0c5882dbeae3e3d25fd0cb725f3b1a54da75ee6c
parent0857ba3c24c308f42a242fe8a1894772750230ce
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