]> 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>
Tue, 13 Dec 2011 06:43:18 +0000 (17:43 +1100)
commit5157c38757280e7234713e781b38edb3e4e6d230
tree98d3f1c7f2576c95a6a593d29064b8bd0ccbf130
parent5137977189ba9b4bb880e6d75a9d376f455d81eb
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