aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-dac124s085.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/leds/leds-dac124s085.c')
-rw-r--r--drivers/leds/leds-dac124s085.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/leds/leds-dac124s085.c b/drivers/leds/leds-dac124s085.c
index 31cf0d60a9a5..d56c14269ff0 100644
--- a/drivers/leds/leds-dac124s085.c
+++ b/drivers/leds/leds-dac124s085.c
@@ -131,18 +131,7 @@ static struct spi_driver dac124s085_driver = {
131 }, 131 },
132}; 132};
133 133
134static int __init dac124s085_leds_init(void) 134module_spi_driver(dac124s085_driver);
135{
136 return spi_register_driver(&dac124s085_driver);
137}
138
139static void __exit dac124s085_leds_exit(void)
140{
141 spi_unregister_driver(&dac124s085_driver);
142}
143
144module_init(dac124s085_leds_init);
145module_exit(dac124s085_leds_exit);
146 135
147MODULE_AUTHOR("Guennadi Liakhovetski <lg@denx.de>"); 136MODULE_AUTHOR("Guennadi Liakhovetski <lg@denx.de>");
148MODULE_DESCRIPTION("DAC124S085 LED driver"); 137MODULE_DESCRIPTION("DAC124S085 LED driver");