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/mvsas/mv_64xx.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/mvsas/mv_64xx.c')
-rw-r--r-- | drivers/scsi/mvsas/mv_64xx.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/mvsas/mv_64xx.c b/drivers/scsi/mvsas/mv_64xx.c index 8ba47229049f..8bb06995adfb 100644 --- a/drivers/scsi/mvsas/mv_64xx.c +++ b/drivers/scsi/mvsas/mv_64xx.c | |||
@@ -41,7 +41,7 @@ static void mvs_64xx_detect_porttype(struct mvs_info *mvi, int i) | |||
41 | phy->phy_type |= PORT_TYPE_SATA; | 41 | phy->phy_type |= PORT_TYPE_SATA; |
42 | } | 42 | } |
43 | 43 | ||
44 | static void __devinit mvs_64xx_enable_xmt(struct mvs_info *mvi, int phy_id) | 44 | static void mvs_64xx_enable_xmt(struct mvs_info *mvi, int phy_id) |
45 | { | 45 | { |
46 | void __iomem *regs = mvi->regs; | 46 | void __iomem *regs = mvi->regs; |
47 | u32 tmp; | 47 | u32 tmp; |
@@ -54,7 +54,7 @@ static void __devinit mvs_64xx_enable_xmt(struct mvs_info *mvi, int phy_id) | |||
54 | mw32(MVS_PCS, tmp); | 54 | mw32(MVS_PCS, tmp); |
55 | } | 55 | } |
56 | 56 | ||
57 | static void __devinit mvs_64xx_phy_hacks(struct mvs_info *mvi) | 57 | static void mvs_64xx_phy_hacks(struct mvs_info *mvi) |
58 | { | 58 | { |
59 | void __iomem *regs = mvi->regs; | 59 | void __iomem *regs = mvi->regs; |
60 | int i; | 60 | int i; |
@@ -156,7 +156,7 @@ void mvs_64xx_clear_srs_irq(struct mvs_info *mvi, u8 reg_set, u8 clear_all) | |||
156 | } | 156 | } |
157 | } | 157 | } |
158 | 158 | ||
159 | static int __devinit mvs_64xx_chip_reset(struct mvs_info *mvi) | 159 | static int mvs_64xx_chip_reset(struct mvs_info *mvi) |
160 | { | 160 | { |
161 | void __iomem *regs = mvi->regs; | 161 | void __iomem *regs = mvi->regs; |
162 | u32 tmp; | 162 | u32 tmp; |
@@ -250,7 +250,7 @@ static void mvs_64xx_phy_enable(struct mvs_info *mvi, u32 phy_id) | |||
250 | } | 250 | } |
251 | } | 251 | } |
252 | 252 | ||
253 | static int __devinit mvs_64xx_init(struct mvs_info *mvi) | 253 | static int mvs_64xx_init(struct mvs_info *mvi) |
254 | { | 254 | { |
255 | void __iomem *regs = mvi->regs; | 255 | void __iomem *regs = mvi->regs; |
256 | int i; | 256 | int i; |