i2c: s3c2410: Convert to use devm_* APIs
authorTushar Behera <tushar.behera@linaro.org>
Thu, 24 Jan 2013 10:11:07 +0000 (15:41 +0530)
committerWolfram Sang <w.sang@pengutronix.de>
Mon, 28 Jan 2013 04:26:44 +0000 (05:26 +0100)
commit2b255b947f39d9360662abf6667957add6064646
treea98080692b10f0b6dce72d0828c0eb5e746698ac
parent669da30d4c972fe62e14a435abf909d19d9b9467
i2c: s3c2410: Convert to use devm_* APIs

i2c-s3c2410 driver is modified to use devm_clk_get()
and devm_request_irq(). This also simplifies the
return path in driver's probe.

Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
drivers/i2c/busses/i2c-s3c2410.c