aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_bf54x.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-12-21 16:19:58 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-03 18:57:03 -0500
commit0ec24914675c48213378da550db494bf154f0f6c (patch)
tree901633b49aad470693a8ad2a0c490c6888df3ca6 /drivers/ata/pata_bf54x.c
parentd8929942806270801023c90d78885e5347be718f (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_bf54x.c')
-rw-r--r--drivers/ata/pata_bf54x.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ata/pata_bf54x.c b/drivers/ata/pata_bf54x.c
index 1e65842e2ca7..8d43510c6bec 100644
--- a/drivers/ata/pata_bf54x.c
+++ b/drivers/ata/pata_bf54x.c
@@ -1538,7 +1538,7 @@ static unsigned short atapi_io_port[] = {
1538 * - IRQ (IORESOURCE_IRQ) 1538 * - IRQ (IORESOURCE_IRQ)
1539 * 1539 *
1540 */ 1540 */
1541static int __devinit bfin_atapi_probe(struct platform_device *pdev) 1541static int bfin_atapi_probe(struct platform_device *pdev)
1542{ 1542{
1543 int board_idx = 0; 1543 int board_idx = 0;
1544 struct resource *res; 1544 struct resource *res;
@@ -1608,7 +1608,7 @@ static int __devinit bfin_atapi_probe(struct platform_device *pdev)
1608 * A bfin atapi device has been unplugged. Perform the needed 1608 * A bfin atapi device has been unplugged. Perform the needed
1609 * cleanup. Also called on module unload for any active devices. 1609 * cleanup. Also called on module unload for any active devices.
1610 */ 1610 */
1611static int __devexit bfin_atapi_remove(struct platform_device *pdev) 1611static int bfin_atapi_remove(struct platform_device *pdev)
1612{ 1612{
1613 struct device *dev = &pdev->dev; 1613 struct device *dev = &pdev->dev;
1614 struct ata_host *host = dev_get_drvdata(dev); 1614 struct ata_host *host = dev_get_drvdata(dev);
@@ -1654,7 +1654,7 @@ static int bfin_atapi_resume(struct platform_device *pdev)
1654 1654
1655static struct platform_driver bfin_atapi_driver = { 1655static struct platform_driver bfin_atapi_driver = {
1656 .probe = bfin_atapi_probe, 1656 .probe = bfin_atapi_probe,
1657 .remove = __devexit_p(bfin_atapi_remove), 1657 .remove = bfin_atapi_remove,
1658 .suspend = bfin_atapi_suspend, 1658 .suspend = bfin_atapi_suspend,
1659 .resume = bfin_atapi_resume, 1659 .resume = bfin_atapi_resume,
1660 .driver = { 1660 .driver = {