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_arasan_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_arasan_cf.c')
-rw-r--r-- | drivers/ata/pata_arasan_cf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ata/pata_arasan_cf.c b/drivers/ata/pata_arasan_cf.c index 9764e80f9320..405022d302c3 100644 --- a/drivers/ata/pata_arasan_cf.c +++ b/drivers/ata/pata_arasan_cf.c | |||
@@ -791,7 +791,7 @@ static struct ata_port_operations arasan_cf_ops = { | |||
791 | .set_dmamode = arasan_cf_set_dmamode, | 791 | .set_dmamode = arasan_cf_set_dmamode, |
792 | }; | 792 | }; |
793 | 793 | ||
794 | static int __devinit arasan_cf_probe(struct platform_device *pdev) | 794 | static int arasan_cf_probe(struct platform_device *pdev) |
795 | { | 795 | { |
796 | struct arasan_cf_dev *acdev; | 796 | struct arasan_cf_dev *acdev; |
797 | struct arasan_cf_pdata *pdata = dev_get_platdata(&pdev->dev); | 797 | struct arasan_cf_pdata *pdata = dev_get_platdata(&pdev->dev); |
@@ -905,7 +905,7 @@ free_clk: | |||
905 | return ret; | 905 | return ret; |
906 | } | 906 | } |
907 | 907 | ||
908 | static int __devexit arasan_cf_remove(struct platform_device *pdev) | 908 | static int arasan_cf_remove(struct platform_device *pdev) |
909 | { | 909 | { |
910 | struct ata_host *host = dev_get_drvdata(&pdev->dev); | 910 | struct ata_host *host = dev_get_drvdata(&pdev->dev); |
911 | struct arasan_cf_dev *acdev = host->ports[0]->private_data; | 911 | struct arasan_cf_dev *acdev = host->ports[0]->private_data; |
@@ -955,7 +955,7 @@ MODULE_DEVICE_TABLE(of, arasan_cf_id_table); | |||
955 | 955 | ||
956 | static struct platform_driver arasan_cf_driver = { | 956 | static struct platform_driver arasan_cf_driver = { |
957 | .probe = arasan_cf_probe, | 957 | .probe = arasan_cf_probe, |
958 | .remove = __devexit_p(arasan_cf_remove), | 958 | .remove = arasan_cf_remove, |
959 | .driver = { | 959 | .driver = { |
960 | .name = DRIVER_NAME, | 960 | .name = DRIVER_NAME, |
961 | .owner = THIS_MODULE, | 961 | .owner = THIS_MODULE, |