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_rb532_cf.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_rb532_cf.c')
-rw-r--r-- | drivers/ata/pata_rb532_cf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ata/pata_rb532_cf.c b/drivers/ata/pata_rb532_cf.c index 9417101bd5ca..3c5eb8fa6bd1 100644 --- a/drivers/ata/pata_rb532_cf.c +++ b/drivers/ata/pata_rb532_cf.c | |||
@@ -102,7 +102,7 @@ static void rb532_pata_setup_ports(struct ata_host *ah) | |||
102 | ap->ioaddr.error_addr = info->iobase + RB500_CF_REG_ERR; | 102 | ap->ioaddr.error_addr = info->iobase + RB500_CF_REG_ERR; |
103 | } | 103 | } |
104 | 104 | ||
105 | static __devinit int rb532_pata_driver_probe(struct platform_device *pdev) | 105 | static int rb532_pata_driver_probe(struct platform_device *pdev) |
106 | { | 106 | { |
107 | int irq; | 107 | int irq; |
108 | int gpio; | 108 | int gpio; |
@@ -177,7 +177,7 @@ err_free_gpio: | |||
177 | return ret; | 177 | return ret; |
178 | } | 178 | } |
179 | 179 | ||
180 | static __devexit int rb532_pata_driver_remove(struct platform_device *pdev) | 180 | static int rb532_pata_driver_remove(struct platform_device *pdev) |
181 | { | 181 | { |
182 | struct ata_host *ah = platform_get_drvdata(pdev); | 182 | struct ata_host *ah = platform_get_drvdata(pdev); |
183 | struct rb532_cf_info *info = ah->private_data; | 183 | struct rb532_cf_info *info = ah->private_data; |
@@ -190,7 +190,7 @@ static __devexit int rb532_pata_driver_remove(struct platform_device *pdev) | |||
190 | 190 | ||
191 | static struct platform_driver rb532_pata_platform_driver = { | 191 | static struct platform_driver rb532_pata_platform_driver = { |
192 | .probe = rb532_pata_driver_probe, | 192 | .probe = rb532_pata_driver_probe, |
193 | .remove = __devexit_p(rb532_pata_driver_remove), | 193 | .remove = rb532_pata_driver_remove, |
194 | .driver = { | 194 | .driver = { |
195 | .name = DRV_NAME, | 195 | .name = DRV_NAME, |
196 | .owner = THIS_MODULE, | 196 | .owner = THIS_MODULE, |