aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-tegra20-slink.c
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2012-12-07 11:57:14 -0500
committerGrant Likely <grant.likely@secretlab.ca>2012-12-07 12:06:43 -0500
commitfd4a319bc933ae93e68935b21924a9ca4ba2d060 (patch)
tree6c813c841e056164fe22bd91a4cd2295028d497d /drivers/spi/spi-tegra20-slink.c
parent7730cba2a50332c194f50a58b86359ea39a82bd1 (diff)
spi: Remove HOTPLUG section attributes
CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away. Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit. Bill Pemberton has done most of the legwork on this series. I've used his script to purge the attributes from the drivers/gpio tree. Reported-by: Bill Pemberton <wfp5p@virginia.edu> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/spi/spi-tegra20-slink.c')
-rw-r--r--drivers/spi/spi-tegra20-slink.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/spi/spi-tegra20-slink.c b/drivers/spi/spi-tegra20-slink.c
index 7882b50329e2..651167f2e0af 100644
--- a/drivers/spi/spi-tegra20-slink.c
+++ b/drivers/spi/spi-tegra20-slink.c
@@ -1108,14 +1108,14 @@ const struct tegra_slink_chip_data tegra20_spi_cdata = {
1108 .cs_hold_time = false, 1108 .cs_hold_time = false,
1109}; 1109};
1110 1110
1111static struct of_device_id tegra_slink_of_match[] __devinitconst = { 1111static struct of_device_id tegra_slink_of_match[] = {
1112 { .compatible = "nvidia,tegra30-slink", .data = &tegra30_spi_cdata, }, 1112 { .compatible = "nvidia,tegra30-slink", .data = &tegra30_spi_cdata, },
1113 { .compatible = "nvidia,tegra20-slink", .data = &tegra20_spi_cdata, }, 1113 { .compatible = "nvidia,tegra20-slink", .data = &tegra20_spi_cdata, },
1114 {} 1114 {}
1115}; 1115};
1116MODULE_DEVICE_TABLE(of, tegra_slink_of_match); 1116MODULE_DEVICE_TABLE(of, tegra_slink_of_match);
1117 1117
1118static int __devinit tegra_slink_probe(struct platform_device *pdev) 1118static int tegra_slink_probe(struct platform_device *pdev)
1119{ 1119{
1120 struct spi_master *master; 1120 struct spi_master *master;
1121 struct tegra_slink_data *tspi; 1121 struct tegra_slink_data *tspi;
@@ -1261,7 +1261,7 @@ exit_free_master:
1261 return ret; 1261 return ret;
1262} 1262}
1263 1263
1264static int __devexit tegra_slink_remove(struct platform_device *pdev) 1264static int tegra_slink_remove(struct platform_device *pdev)
1265{ 1265{
1266 struct spi_master *master = dev_get_drvdata(&pdev->dev); 1266 struct spi_master *master = dev_get_drvdata(&pdev->dev);
1267 struct tegra_slink_data *tspi = spi_master_get_devdata(master); 1267 struct tegra_slink_data *tspi = spi_master_get_devdata(master);
@@ -1348,7 +1348,7 @@ static struct platform_driver tegra_slink_driver = {
1348 .of_match_table = of_match_ptr(tegra_slink_of_match), 1348 .of_match_table = of_match_ptr(tegra_slink_of_match),
1349 }, 1349 },
1350 .probe = tegra_slink_probe, 1350 .probe = tegra_slink_probe,
1351 .remove = __devexit_p(tegra_slink_remove), 1351 .remove = tegra_slink_remove,
1352}; 1352};
1353module_platform_driver(tegra_slink_driver); 1353module_platform_driver(tegra_slink_driver);
1354 1354