aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ufs/ufshcd.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-12-21 16:08:55 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-03 18:57:01 -0500
commit6f039790510fd630ff348efe8c4802dbaa041fba (patch)
treebf99ab35c78f689a40f3057537209be5f7ca88d6 /drivers/scsi/ufs/ufshcd.c
parent48c68c4f1b542444f175a9e136febcecf3e704d8 (diff)
Drivers: scsi: 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: Adam Radford <linuxraid@lsi.com> Cc: "James E.J. Bottomley" <JBottomley@parallels.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/scsi/ufs/ufshcd.c')
-rw-r--r--drivers/scsi/ufs/ufshcd.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/scsi/ufs/ufshcd.c b/drivers/scsi/ufs/ufshcd.c
index 58f4ba6fe412..91a4046ca9ba 100644
--- a/drivers/scsi/ufs/ufshcd.c
+++ b/drivers/scsi/ufs/ufshcd.c
@@ -1811,8 +1811,7 @@ static int ufshcd_set_dma_mask(struct ufs_hba *hba)
1811 * 1811 *
1812 * Returns 0 on success, non-zero value on failure 1812 * Returns 0 on success, non-zero value on failure
1813 */ 1813 */
1814static int __devinit 1814static int ufshcd_probe(struct pci_dev *pdev, const struct pci_device_id *id)
1815ufshcd_probe(struct pci_dev *pdev, const struct pci_device_id *id)
1816{ 1815{
1817 struct Scsi_Host *host; 1816 struct Scsi_Host *host;
1818 struct ufs_hba *hba; 1817 struct ufs_hba *hba;
@@ -1947,7 +1946,7 @@ static struct pci_driver ufshcd_pci_driver = {
1947 .name = UFSHCD, 1946 .name = UFSHCD,
1948 .id_table = ufshcd_pci_tbl, 1947 .id_table = ufshcd_pci_tbl,
1949 .probe = ufshcd_probe, 1948 .probe = ufshcd_probe,
1950 .remove = __devexit_p(ufshcd_remove), 1949 .remove = ufshcd_remove,
1951 .shutdown = ufshcd_shutdown, 1950 .shutdown = ufshcd_shutdown,
1952#ifdef CONFIG_PM 1951#ifdef CONFIG_PM
1953 .suspend = ufshcd_suspend, 1952 .suspend = ufshcd_suspend,