From: Tushar Behera Date: Thu, 24 Jan 2013 10:11:08 +0000 (+0530) Subject: i2c: s3c2410: Move location of clk_prepare_enable() call in probe function X-Git-Tag: v3.9-rc1~75^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d16933b33914a6dff38a4ecbe8edce44a17898e8;p=pandora-kernel.git 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 Signed-off-by: Wolfram Sang --- Reading git-diff-tree failed