Re: [PATCH 0/7] i2c: s3c2410: Add devm_* apis and cleanup

From: Shubhrajyoti Datta
Date: Fri Nov 23 2012 - 01:15:10 EST


On Fri, Nov 23, 2012 at 11:29 AM, Tushar Behera
<tushar.behera@xxxxxxxxxx> wrote:
> This patchset cleans up the probe function of i2c-s3c2410 driver.
> These have been tested on Exynos4210 based Origen board.
>
> Tushar Behera (7):
> i2c: s3c2410: Remove unnecessary label err_noclk
> i2c: s3c2410: Convert to use devm_clk_get()
> i2c: s3c2410: Convert to use devm_request_mem_region()
> i2c: s3c2410: Convert to use devm_ioremap()
> i2c: s3c2410: Convert to use devm_request_irq()

You may want to consider request_and_ioremap.


> i2c: s3c2410: Move location of clk_prepare_enable() call in probe
> function
> i2c: s3c2410: Remove err_cpufreq label
>
> drivers/i2c/busses/i2c-s3c2410.c | 74 ++++++++++++--------------------------
> 1 files changed, 23 insertions(+), 51 deletions(-)
>
> --
> 1.7.4.1
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/