diff options
Diffstat (limited to 'drivers/spi/spi-omap2-mcspi.c')
-rw-r--r-- | drivers/spi/spi-omap2-mcspi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/spi/spi-omap2-mcspi.c b/drivers/spi/spi-omap2-mcspi.c index 850138455259..b610f522ca44 100644 --- a/drivers/spi/spi-omap2-mcspi.c +++ b/drivers/spi/spi-omap2-mcspi.c | |||
@@ -1088,7 +1088,7 @@ static int omap2_mcspi_transfer_one_message(struct spi_master *master, | |||
1088 | return 0; | 1088 | return 0; |
1089 | } | 1089 | } |
1090 | 1090 | ||
1091 | static int __devinit omap2_mcspi_master_setup(struct omap2_mcspi *mcspi) | 1091 | static int omap2_mcspi_master_setup(struct omap2_mcspi *mcspi) |
1092 | { | 1092 | { |
1093 | struct spi_master *master = mcspi->master; | 1093 | struct spi_master *master = mcspi->master; |
1094 | struct omap2_mcspi_regs *ctx = &mcspi->ctx; | 1094 | struct omap2_mcspi_regs *ctx = &mcspi->ctx; |
@@ -1141,7 +1141,7 @@ static const struct of_device_id omap_mcspi_of_match[] = { | |||
1141 | }; | 1141 | }; |
1142 | MODULE_DEVICE_TABLE(of, omap_mcspi_of_match); | 1142 | MODULE_DEVICE_TABLE(of, omap_mcspi_of_match); |
1143 | 1143 | ||
1144 | static int __devinit omap2_mcspi_probe(struct platform_device *pdev) | 1144 | static int omap2_mcspi_probe(struct platform_device *pdev) |
1145 | { | 1145 | { |
1146 | struct spi_master *master; | 1146 | struct spi_master *master; |
1147 | const struct omap2_mcspi_platform_config *pdata; | 1147 | const struct omap2_mcspi_platform_config *pdata; |
@@ -1278,7 +1278,7 @@ free_master: | |||
1278 | return status; | 1278 | return status; |
1279 | } | 1279 | } |
1280 | 1280 | ||
1281 | static int __devexit omap2_mcspi_remove(struct platform_device *pdev) | 1281 | static int omap2_mcspi_remove(struct platform_device *pdev) |
1282 | { | 1282 | { |
1283 | struct spi_master *master; | 1283 | struct spi_master *master; |
1284 | struct omap2_mcspi *mcspi; | 1284 | struct omap2_mcspi *mcspi; |
@@ -1347,7 +1347,7 @@ static struct platform_driver omap2_mcspi_driver = { | |||
1347 | .of_match_table = omap_mcspi_of_match, | 1347 | .of_match_table = omap_mcspi_of_match, |
1348 | }, | 1348 | }, |
1349 | .probe = omap2_mcspi_probe, | 1349 | .probe = omap2_mcspi_probe, |
1350 | .remove = __devexit_p(omap2_mcspi_remove), | 1350 | .remove = omap2_mcspi_remove, |
1351 | }; | 1351 | }; |
1352 | 1352 | ||
1353 | module_platform_driver(omap2_mcspi_driver); | 1353 | module_platform_driver(omap2_mcspi_driver); |