]> git.karo-electronics.de Git - karo-tx-linux.git/commit
leds: convert leds-dac124s085 to module_spi_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>
Fri, 9 Dec 2011 04:52:42 +0000 (15:52 +1100)
commitb15ff4059b2367d37e54ee72926f2690827e9d88
tree0106900ef66c2566010b14a846db123c551943f7
parent00525037d7b415cce7e00d67e4f74691783ba7fc
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