]> git.karo-electronics.de Git - karo-tx-linux.git/commit
leds: convert leds-dac124s085 to module_spi_driver
authorAxel Lin <axel.lin@gmail.com>
Fri, 2 Dec 2011 03:12:40 +0000 (14:12 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 6 Dec 2011 04:05:31 +0000 (15:05 +1100)
commit8c77ff3f95d00c6d7727e337ea8fa2214d810c79
tree74c06193d5e0aadfd9d91f8b104b9553ed9b9f71
parent7d5a4fb443dc5227ac3ac97bca5095ebdae16d05
leds: convert leds-dac124s085 to module_spi_driver

Factor out some boilerplate code for spi driver registration into
module_spi_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>
Acked-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/leds/leds-dac124s085.c