aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd/rtsx_pcr.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-12-21 18:03:15 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-03 18:57:14 -0500
commit612b95cd7926d1a583e68f12e10b44b7ac80ca17 (patch)
treee7418eedd95f09adf88675ef89e6abdc465a45df /drivers/mfd/rtsx_pcr.c
parentf568f6ca811fe681ecfd11c4ce78b6aa488020c0 (diff)
Drivers: mfd: remove __dev* attributes.
CONFIG_HOTPLUG is going away as an option. As a result, the __dev* markings need to be removed. This change removes the use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit from these drivers. Based on patches originally written by Bill Pemberton, but redone by me in order to handle some of the coding style issues better, by hand. Cc: Bill Pemberton <wfp5p@virginia.edu> Cc: Samuel Ortiz <sameo@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/mfd/rtsx_pcr.c')
-rw-r--r--drivers/mfd/rtsx_pcr.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/mfd/rtsx_pcr.c b/drivers/mfd/rtsx_pcr.c
index 3a44efa29203..7a7b0bda4618 100644
--- a/drivers/mfd/rtsx_pcr.c
+++ b/drivers/mfd/rtsx_pcr.c
@@ -998,8 +998,8 @@ static int rtsx_pci_init_chip(struct rtsx_pcr *pcr)
998 return 0; 998 return 0;
999} 999}
1000 1000
1001static int __devinit rtsx_pci_probe(struct pci_dev *pcidev, 1001static int rtsx_pci_probe(struct pci_dev *pcidev,
1002 const struct pci_device_id *id) 1002 const struct pci_device_id *id)
1003{ 1003{
1004 struct rtsx_pcr *pcr; 1004 struct rtsx_pcr *pcr;
1005 struct pcr_handle *handle; 1005 struct pcr_handle *handle;
@@ -1123,7 +1123,7 @@ disable:
1123 return ret; 1123 return ret;
1124} 1124}
1125 1125
1126static void __devexit rtsx_pci_remove(struct pci_dev *pcidev) 1126static void rtsx_pci_remove(struct pci_dev *pcidev)
1127{ 1127{
1128 struct pcr_handle *handle = pci_get_drvdata(pcidev); 1128 struct pcr_handle *handle = pci_get_drvdata(pcidev);
1129 struct rtsx_pcr *pcr = handle->pcr; 1129 struct rtsx_pcr *pcr = handle->pcr;
@@ -1241,7 +1241,7 @@ static struct pci_driver rtsx_pci_driver = {
1241 .name = DRV_NAME_RTSX_PCI, 1241 .name = DRV_NAME_RTSX_PCI,
1242 .id_table = rtsx_pci_ids, 1242 .id_table = rtsx_pci_ids,
1243 .probe = rtsx_pci_probe, 1243 .probe = rtsx_pci_probe,
1244 .remove = __devexit_p(rtsx_pci_remove), 1244 .remove = rtsx_pci_remove,
1245 .suspend = rtsx_pci_suspend, 1245 .suspend = rtsx_pci_suspend,
1246 .resume = rtsx_pci_resume, 1246 .resume = rtsx_pci_resume,
1247}; 1247};