diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/spi/spi-s3c64xx.c | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/drivers/spi/spi-s3c64xx.c b/drivers/spi/spi-s3c64xx.c index 512b8893893b..20dd71237d3b 100644 --- a/drivers/spi/spi-s3c64xx.c +++ b/drivers/spi/spi-s3c64xx.c | |||
@@ -1633,22 +1633,13 @@ static struct platform_driver s3c64xx_spi_driver = { | |||
1633 | .pm = &s3c64xx_spi_pm, | 1633 | .pm = &s3c64xx_spi_pm, |
1634 | .of_match_table = of_match_ptr(s3c64xx_spi_dt_match), | 1634 | .of_match_table = of_match_ptr(s3c64xx_spi_dt_match), |
1635 | }, | 1635 | }, |
1636 | .probe = s3c64xx_spi_probe, | ||
1636 | .remove = s3c64xx_spi_remove, | 1637 | .remove = s3c64xx_spi_remove, |
1637 | .id_table = s3c64xx_spi_driver_ids, | 1638 | .id_table = s3c64xx_spi_driver_ids, |
1638 | }; | 1639 | }; |
1639 | MODULE_ALIAS("platform:s3c64xx-spi"); | 1640 | MODULE_ALIAS("platform:s3c64xx-spi"); |
1640 | 1641 | ||
1641 | static int __init s3c64xx_spi_init(void) | 1642 | module_platform_driver(s3c64xx_spi_driver); |
1642 | { | ||
1643 | return platform_driver_probe(&s3c64xx_spi_driver, s3c64xx_spi_probe); | ||
1644 | } | ||
1645 | subsys_initcall(s3c64xx_spi_init); | ||
1646 | |||
1647 | static void __exit s3c64xx_spi_exit(void) | ||
1648 | { | ||
1649 | platform_driver_unregister(&s3c64xx_spi_driver); | ||
1650 | } | ||
1651 | module_exit(s3c64xx_spi_exit); | ||
1652 | 1643 | ||
1653 | MODULE_AUTHOR("Jaswinder Singh <jassi.brar@samsung.com>"); | 1644 | MODULE_AUTHOR("Jaswinder Singh <jassi.brar@samsung.com>"); |
1654 | MODULE_DESCRIPTION("S3C64XX SPI Controller Driver"); | 1645 | MODULE_DESCRIPTION("S3C64XX SPI Controller Driver"); |