Re: [PATCH RESEND] rtc: convert drivers/rtc/* to use module_platform_driver()

From: Haojian Zhuang
Date: Thu Dec 15 2011 - 03:35:55 EST


On Thu, Dec 15, 2011 at 2:46 PM, Axel Lin <axel.lin@xxxxxxxxx> wrote:
> This patch converts the drivers in drivers/rtc/* to use the
> module_platform_driver() macro which makes the code smaller and a bit
> simpler.
>
> Cc: Haojian Zhuang <haojian.zhuang@xxxxxxxxxxx>
> Cc: Alessandro Zummo <a.zummo@xxxxxxxxxxxx>
> Cc: Srinidhi Kasagar <srinidhi.kasagar@xxxxxxxxxxxxxx>
> Cc: Linus Walleij <linus.walleij@xxxxxxxxxxxxxx>
> Cc: Mike Frysinger <vapier.adi@xxxxxxxxx>
> Cc: Guan Xuetao <gxt@xxxxxxxxxxxxxxx>
> Cc: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
> Cc: Lars-Peter Clausen <lars@xxxxxxxxxx>
> Cc: Ben Dooks <ben@xxxxxxxxxxxx>
> Cc: John Stultz <john.stultz@xxxxxxxxxx>
> Signed-off-by: Axel Lin <axel.lin@xxxxxxxxx>
> Acked-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
> Acked-by: Mike Frysinger <vapier@xxxxxxxxxx>
> Acked-by: Guan Xuetao <gxt@xxxxxxxxxxxxxxx>
> Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
> ---
> This patch was sent on https://lkml.org/lkml/2011/11/25/127.
> I regenerate the patch against linux-next 20111214.
> Also Cc Andrew Morton who seems to be mostly handing
> the RTC stuff at the moment.
>
> Axel
>
>  drivers/rtc/rtc-88pm860x.c |   12 +-----------
>  drivers/rtc/rtc-ab8500.c   |   12 +-----------
>  drivers/rtc/rtc-bfin.c     |   13 +------------
>  drivers/rtc/rtc-bq4802.c   |   13 +------------
>  drivers/rtc/rtc-dm355evm.c |   12 +-----------
>  drivers/rtc/rtc-ds1286.c   |   13 +------------
>  drivers/rtc/rtc-ds1511.c   |   15 +--------------
>  drivers/rtc/rtc-ds1553.c   |   13 +------------
>  drivers/rtc/rtc-ds1742.c   |   13 +------------
>  drivers/rtc/rtc-jz4740.c   |   12 +-----------
>  drivers/rtc/rtc-lpc32xx.c  |   12 +-----------
>  drivers/rtc/rtc-m48t35.c   |   13 +------------
>  drivers/rtc/rtc-m48t59.c   |   13 +------------
>  drivers/rtc/rtc-m48t86.c   |   13 +------------
>  drivers/rtc/rtc-max8925.c  |   12 +-----------
>  drivers/rtc/rtc-max8998.c  |   12 +-----------
>  drivers/rtc/rtc-mpc5121.c  |   12 +-----------
>  drivers/rtc/rtc-mrst.c     |   13 +------------
>  drivers/rtc/rtc-pcf50633.c |   12 +-----------
>  drivers/rtc/rtc-pm8xxx.c   |   12 +-----------
>  drivers/rtc/rtc-puv3.c     |   16 +---------------
>  drivers/rtc/rtc-s3c.c      |   16 +---------------
>  drivers/rtc/rtc-sa1100.c   |   13 +------------
>  drivers/rtc/rtc-spear.c    |   12 +-----------
>  drivers/rtc/rtc-stk17ta8.c |   13 +------------
>  drivers/rtc/rtc-stmp3xxx.c |   13 +------------
>  drivers/rtc/rtc-v3020.c    |   13 +------------
>  drivers/rtc/rtc-vr41xx.c   |   13 +------------
>  drivers/rtc/rtc-vt8500.c   |   12 +-----------
>  drivers/rtc/rtc-wm831x.c   |   12 +-----------
>  drivers/rtc/rtc-wm8350.c   |   12 +-----------
>  31 files changed, 31 insertions(+), 366 deletions(-)
>

Acked-by: Haojian Zhuang <haojian.zhuang@xxxxxxxxx>
--
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/