diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-21 16:08:55 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-03 18:57:01 -0500 |
commit | 6f039790510fd630ff348efe8c4802dbaa041fba (patch) | |
tree | bf99ab35c78f689a40f3057537209be5f7ca88d6 /drivers/scsi/ips.c | |
parent | 48c68c4f1b542444f175a9e136febcecf3e704d8 (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/ips.c')
-rw-r--r-- | drivers/scsi/ips.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/scsi/ips.c b/drivers/scsi/ips.c index b6d7a5c2fc94..9aa86a315a08 100644 --- a/drivers/scsi/ips.c +++ b/drivers/scsi/ips.c | |||
@@ -389,14 +389,14 @@ MODULE_DEVICE_TABLE( pci, ips_pci_table ); | |||
389 | 389 | ||
390 | static char ips_hot_plug_name[] = "ips"; | 390 | static char ips_hot_plug_name[] = "ips"; |
391 | 391 | ||
392 | static int __devinit ips_insert_device(struct pci_dev *pci_dev, const struct pci_device_id *ent); | 392 | static int ips_insert_device(struct pci_dev *pci_dev, const struct pci_device_id *ent); |
393 | static void __devexit ips_remove_device(struct pci_dev *pci_dev); | 393 | static void ips_remove_device(struct pci_dev *pci_dev); |
394 | 394 | ||
395 | static struct pci_driver ips_pci_driver = { | 395 | static struct pci_driver ips_pci_driver = { |
396 | .name = ips_hot_plug_name, | 396 | .name = ips_hot_plug_name, |
397 | .id_table = ips_pci_table, | 397 | .id_table = ips_pci_table, |
398 | .probe = ips_insert_device, | 398 | .probe = ips_insert_device, |
399 | .remove = __devexit_p(ips_remove_device), | 399 | .remove = ips_remove_device, |
400 | }; | 400 | }; |
401 | 401 | ||
402 | 402 | ||
@@ -6837,7 +6837,7 @@ err_out_sh: | |||
6837 | /* Routine Description: */ | 6837 | /* Routine Description: */ |
6838 | /* Remove one Adapter ( Hot Plugging ) */ | 6838 | /* Remove one Adapter ( Hot Plugging ) */ |
6839 | /*---------------------------------------------------------------------------*/ | 6839 | /*---------------------------------------------------------------------------*/ |
6840 | static void __devexit | 6840 | static void |
6841 | ips_remove_device(struct pci_dev *pci_dev) | 6841 | ips_remove_device(struct pci_dev *pci_dev) |
6842 | { | 6842 | { |
6843 | struct Scsi_Host *sh = pci_get_drvdata(pci_dev); | 6843 | struct Scsi_Host *sh = pci_get_drvdata(pci_dev); |
@@ -6898,7 +6898,7 @@ module_exit(ips_module_exit); | |||
6898 | /* Return Value: */ | 6898 | /* Return Value: */ |
6899 | /* 0 if Successful, else non-zero */ | 6899 | /* 0 if Successful, else non-zero */ |
6900 | /*---------------------------------------------------------------------------*/ | 6900 | /*---------------------------------------------------------------------------*/ |
6901 | static int __devinit | 6901 | static int |
6902 | ips_insert_device(struct pci_dev *pci_dev, const struct pci_device_id *ent) | 6902 | ips_insert_device(struct pci_dev *pci_dev, const struct pci_device_id *ent) |
6903 | { | 6903 | { |
6904 | int index = -1; | 6904 | int index = -1; |