]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita905bec904afabdefeba0b69fe613814c47fcf91
treea98080692b10f0b6dce72d0828c0eb5e746698ac
parent52917b4619845e79940934242ea8a7624bf6b391
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