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

From: Michael Hennerich
Date: Mon Nov 28 2011 - 02:53:57 EST


On 11/26/2011 03:59 AM, Haojian Zhuang wrote:
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>

Acked-by: Michael Hennerich <michael.hennerich@xxxxxxxxxx>

--
Greetings,
Michael

--
Analog Devices GmbH Wilhelm-Wagenfeld-Str. 6 80807 Muenchen
Sitz der Gesellschaft: Muenchen; Registergericht: Muenchen HRB 40368;
Geschaeftsfuehrer:Dr.Carsten Suckrow, Thomas Wessel, William A. Martin,
Margaret Seif


--
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/