Re: [PATCH] backlight: convert drivers/video/backlight/* to use module_platform_driver()

From: Haojian Zhuang
Date: Fri Nov 25 2011 - 21:59:57 EST


On Sat, Nov 26, 2011 at 10:19 AM, Axel Lin <axel.lin@xxxxxxxxx> wrote:
> This patch converts the drivers in drivers/video/backlight/* to use the
> module_platform_driver() macro which makes the code smaller and a bit
> simpler.
>
> Cc: Haojian Zhuang <haojian.zhuang@xxxxxxxxxxx>
> Cc: H Hartley Sweeten <hsweeten@xxxxxxxxxxxxxxxxxxx>
> Cc: Mike Rapoport <mike@xxxxxxxxxxxxxx>
> Cc: Richard Purdie <rpurdie@xxxxxxxxx>
> Cc: Michael Hennerich <michael.hennerich@xxxxxxxxxx>
> Cc: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
> Signed-off-by: Axel Lin <axel.lin@xxxxxxxxx>
> ---
>  drivers/video/backlight/88pm860x_bl.c        |   12 +-----------
>  drivers/video/backlight/adp5520_bl.c         |   12 +-----------
>  drivers/video/backlight/adx_bl.c             |   13 +------------
>  drivers/video/backlight/da903x_bl.c          |   12 +-----------
>  drivers/video/backlight/ep93xx_bl.c          |   12 +-----------
>  drivers/video/backlight/generic_bl.c         |   13 +------------
>  drivers/video/backlight/jornada720_bl.c      |   13 +------------
>  drivers/video/backlight/jornada720_lcd.c     |   13 +------------
>  drivers/video/backlight/max8925_bl.c         |   12 +-----------
>  drivers/video/backlight/omap1_bl.c           |   13 +------------
>  drivers/video/backlight/pcf50633-backlight.c |   12 +-----------
>  drivers/video/backlight/platform_lcd.c       |   13 +------------
>  drivers/video/backlight/pwm_bl.c             |   12 +-----------
>  drivers/video/backlight/wm831x_bl.c          |   12 +-----------
>  14 files changed, 14 insertions(+), 160 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/