diff options
Diffstat (limited to 'drivers/video/omap2/displays/panel-tpo-td043mtea1.c')
-rw-r--r-- | drivers/video/omap2/displays/panel-tpo-td043mtea1.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/video/omap2/displays/panel-tpo-td043mtea1.c b/drivers/video/omap2/displays/panel-tpo-td043mtea1.c index 880c313d6bc..0ca9644f9ea 100644 --- a/drivers/video/omap2/displays/panel-tpo-td043mtea1.c +++ b/drivers/video/omap2/displays/panel-tpo-td043mtea1.c | |||
@@ -511,18 +511,7 @@ static struct spi_driver tpo_td043_spi_driver = { | |||
511 | .remove = __devexit_p(tpo_td043_spi_remove), | 511 | .remove = __devexit_p(tpo_td043_spi_remove), |
512 | }; | 512 | }; |
513 | 513 | ||
514 | static int __init tpo_td043_init(void) | 514 | module_spi_driver(tpo_td043_spi_driver); |
515 | { | ||
516 | return spi_register_driver(&tpo_td043_spi_driver); | ||
517 | } | ||
518 | |||
519 | static void __exit tpo_td043_exit(void) | ||
520 | { | ||
521 | spi_unregister_driver(&tpo_td043_spi_driver); | ||
522 | } | ||
523 | |||
524 | module_init(tpo_td043_init); | ||
525 | module_exit(tpo_td043_exit); | ||
526 | 515 | ||
527 | MODULE_AUTHOR("Gražvydas Ignotas <notasas@gmail.com>"); | 516 | MODULE_AUTHOR("Gražvydas Ignotas <notasas@gmail.com>"); |
528 | MODULE_DESCRIPTION("TPO TD043MTEA1 LCD Driver"); | 517 | MODULE_DESCRIPTION("TPO TD043MTEA1 LCD Driver"); |