aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-pl022.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-pl022.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-pl022.c')
-rw-r--r--drivers/spi/spi-pl022.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/drivers/spi/spi-pl022.c b/drivers/spi/spi-pl022.c
index 1361868fced7..b0fe393c882c 100644
--- a/drivers/spi/spi-pl022.c
+++ b/drivers/spi/spi-pl022.c
@@ -1089,7 +1089,7 @@ err_alloc_rx_sg:
1089 return -ENOMEM; 1089 return -ENOMEM;
1090} 1090}
1091 1091
1092static int __devinit pl022_dma_probe(struct pl022 *pl022) 1092static int pl022_dma_probe(struct pl022 *pl022)
1093{ 1093{
1094 dma_cap_mask_t mask; 1094 dma_cap_mask_t mask;
1095 1095
@@ -2058,8 +2058,7 @@ pl022_platform_data_dt_get(struct device *dev)
2058 return pd; 2058 return pd;
2059} 2059}
2060 2060
2061static int __devinit 2061static int pl022_probe(struct amba_device *adev, const struct amba_id *id)
2062pl022_probe(struct amba_device *adev, const struct amba_id *id)
2063{ 2062{
2064 struct device *dev = &adev->dev; 2063 struct device *dev = &adev->dev;
2065 struct pl022_ssp_controller *platform_info = adev->dev.platform_data; 2064 struct pl022_ssp_controller *platform_info = adev->dev.platform_data;
@@ -2275,7 +2274,7 @@ pl022_probe(struct amba_device *adev, const struct amba_id *id)
2275 return status; 2274 return status;
2276} 2275}
2277 2276
2278static int __devexit 2277static int
2279pl022_remove(struct amba_device *adev) 2278pl022_remove(struct amba_device *adev)
2280{ 2279{
2281 struct pl022 *pl022 = amba_get_drvdata(adev); 2280 struct pl022 *pl022 = amba_get_drvdata(adev);
@@ -2484,7 +2483,7 @@ static struct amba_driver pl022_driver = {
2484 }, 2483 },
2485 .id_table = pl022_ids, 2484 .id_table = pl022_ids,
2486 .probe = pl022_probe, 2485 .probe = pl022_probe,
2487 .remove = __devexit_p(pl022_remove), 2486 .remove = pl022_remove,
2488}; 2487};
2489 2488
2490static int __init pl022_init(void) 2489static int __init pl022_init(void)