diff options
author | Tushar Behera <tushar.behera@linaro.org> | 2013-01-24 14:11:08 +0400 |
---|---|---|
committer | Wolfram Sang <w.sang@pengutronix.de> | 2013-01-28 08:26:44 +0400 |
commit | d16933b33914a6dff38a4ecbe8edce44a17898e8 (patch) | |
tree | 0f66a465cd863d8acff40ae56dc3eb2ed102ec46 /drivers/xen/evtchn.c | |
parent | 2b255b947f39d9360662abf6667957add6064646 (diff) | |
download | linux-d16933b33914a6dff38a4ecbe8edce44a17898e8.tar.xz |
i2c: s3c2410: Move location of clk_prepare_enable() call in probe function
In i2c-s3c2410 driver probe, only s3c24xx_i2c_init() needs the I2C clock
to be enabled. Moving clk_prepare_enable() and clk_disable_unprepare()
calls to around this function simplifies the return path of probe call.
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Diffstat (limited to 'drivers/xen/evtchn.c')
0 files changed, 0 insertions, 0 deletions