Date:2012-04-09 10:42:27 (6 years 8 months ago)
Author:Lars C.
Commit:5b8a6603d1f65b03cf6022990cee807cd4819409
Message:ili8960: Use module_spi_driver

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Files: drivers/video/backlight/ili8960.c (1 diff)

Change Details

drivers/video/backlight/ili8960.c
244244    .suspend = ili8960_suspend,
245245    .resume = ili8960_resume,
246246};
247
248static int __init ili8960_init(void)
249{
250    return spi_register_driver(&ili8960_driver);
251}
252module_init(ili8960_init);
253
254static void __exit ili8960_exit(void)
255{
256    spi_unregister_driver(&ili8960_driver);
257}
258module_exit(ili8960_exit)
247module_spi_driver(ili8960_driver);
259248
260249MODULE_AUTHOR("Lars-Peter Clausen");
261250MODULE_LICENSE("GPL");

Archive Download the corresponding diff file



interactive