]> 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, 16 Dec 2011 04:50:13 +0000 (15:50 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 19 Dec 2011 07:19:38 +0000 (18:19 +1100)
commit48d0ef6739858e2a6c60140cc7403875dd9b844b
treea11f3c01431dfa8bdd094b30e78798a1055cf7fb
parent04cb44e04eb4ea3340060c30e6d9420fc529feee
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