aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ips.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/ips.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/ips.c')
-rw-r--r--drivers/scsi/ips.c10
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
390static char ips_hot_plug_name[] = "ips"; 390static char ips_hot_plug_name[] = "ips";
391 391
392static int __devinit ips_insert_device(struct pci_dev *pci_dev, const struct pci_device_id *ent); 392static int ips_insert_device(struct pci_dev *pci_dev, const struct pci_device_id *ent);
393static void __devexit ips_remove_device(struct pci_dev *pci_dev); 393static void ips_remove_device(struct pci_dev *pci_dev);
394 394
395static struct pci_driver ips_pci_driver = { 395static 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/*---------------------------------------------------------------------------*/
6840static void __devexit 6840static void
6841ips_remove_device(struct pci_dev *pci_dev) 6841ips_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/*---------------------------------------------------------------------------*/
6901static int __devinit 6901static int
6902ips_insert_device(struct pci_dev *pci_dev, const struct pci_device_id *ent) 6902ips_insert_device(struct pci_dev *pci_dev, const struct pci_device_id *ent)
6903{ 6903{
6904 int index = -1; 6904 int index = -1;