]> git.karo-electronics.de Git - karo-tx-linux.git/commit
leds: convert led i2c drivers to module_i2c_driver
authorAxel Lin <axel.lin@gmail.com>
Thu, 8 Dec 2011 04:42:18 +0000 (15:42 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 12 Dec 2011 04:19:03 +0000 (15:19 +1100)
commitb0ec7afa01516d9fed68bca647e9c67990d77122
treef37afd8775c68126aa0db6750b0a11ced2d7dcc7
parent10b91f21f651149750ec9a71b63265777faca437
leds: convert led i2c drivers to module_i2c_driver

Factor out some boilerplate code for i2c driver registration
into module_i2c_driver.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Cc: Haojian Zhuang <hzhuang1@marvell.com>
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Cc: Michael Hennerich <hennerich@blackfin.uclinux.org>
Cc: Mike Rapoport <mike@compulab.co.il>
Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/leds/leds-bd2802.c
drivers/leds/leds-lm3530.c
drivers/leds/leds-lp3944.c
drivers/leds/leds-lp5521.c
drivers/leds/leds-lp5523.c
drivers/leds/leds-pca9532.c
drivers/leds/leds-pca955x.c