diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-21 16:19:58 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-03 18:57:03 -0500 |
commit | 0ec24914675c48213378da550db494bf154f0f6c (patch) | |
tree | 901633b49aad470693a8ad2a0c490c6888df3ca6 /drivers/ata/pata_mpc52xx.c | |
parent | d8929942806270801023c90d78885e5347be718f (diff) |
Drivers: ata: 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,
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: Jeff Garzik <jgarzik@pobox.com>
Cc: Viresh Kumar <viresh.linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/ata/pata_mpc52xx.c')
-rw-r--r-- | drivers/ata/pata_mpc52xx.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/ata/pata_mpc52xx.c b/drivers/ata/pata_mpc52xx.c index ec67f54dc56f..652f57e83484 100644 --- a/drivers/ata/pata_mpc52xx.c +++ b/drivers/ata/pata_mpc52xx.c | |||
@@ -621,9 +621,10 @@ static struct ata_port_operations mpc52xx_ata_port_ops = { | |||
621 | .qc_prep = ata_noop_qc_prep, | 621 | .qc_prep = ata_noop_qc_prep, |
622 | }; | 622 | }; |
623 | 623 | ||
624 | static int __devinit | 624 | static int mpc52xx_ata_init_one(struct device *dev, |
625 | mpc52xx_ata_init_one(struct device *dev, struct mpc52xx_ata_priv *priv, | 625 | struct mpc52xx_ata_priv *priv, |
626 | unsigned long raw_ata_regs, int mwdma_mask, int udma_mask) | 626 | unsigned long raw_ata_regs, |
627 | int mwdma_mask, int udma_mask) | ||
627 | { | 628 | { |
628 | struct ata_host *host; | 629 | struct ata_host *host; |
629 | struct ata_port *ap; | 630 | struct ata_port *ap; |
@@ -667,8 +668,7 @@ mpc52xx_ata_init_one(struct device *dev, struct mpc52xx_ata_priv *priv, | |||
667 | /* OF Platform driver */ | 668 | /* OF Platform driver */ |
668 | /* ======================================================================== */ | 669 | /* ======================================================================== */ |
669 | 670 | ||
670 | static int __devinit | 671 | static int mpc52xx_ata_probe(struct platform_device *op) |
671 | mpc52xx_ata_probe(struct platform_device *op) | ||
672 | { | 672 | { |
673 | unsigned int ipb_freq; | 673 | unsigned int ipb_freq; |
674 | struct resource res_mem; | 674 | struct resource res_mem; |