adm5120: remove __dev{init,exit} annotations
authorGabor Juhos <juhosg@openwrt.org>
Sun, 24 Feb 2013 18:08:03 +0000 (18:08 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Sun, 24 Feb 2013 18:08:03 +0000 (18:08 +0000)
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35768

target/linux/adm5120/files/drivers/ata/pata_rb153_cf.c
target/linux/adm5120/files/drivers/net/adm5120sw.c
target/linux/adm5120/files/drivers/usb/host/adm5120-drv.c

index 71f8ad6b89cfdc4de91ceef369549d92d52cdb83..92a4d1390d88b639d12b345a2e61cc65adcbb0a7 100644 (file)
@@ -148,7 +148,7 @@ static void rb153_pata_setup_port(struct ata_host *ah)
        ap->ioaddr.data_addr = info->iobase + RB153_CF_REG_DATA;
 }
 
-static __devinit int rb153_pata_driver_probe(struct platform_device *pdev)
+static int rb153_pata_driver_probe(struct platform_device *pdev)
 {
        unsigned int irq;
        int gpio;
@@ -222,7 +222,7 @@ err_free_gpio:
        return ret;
 }
 
-static __devexit int rb153_pata_driver_remove(struct platform_device *pdev)
+static int rb153_pata_driver_remove(struct platform_device *pdev)
 {
        struct ata_host *ah = platform_get_drvdata(pdev);
        struct rb153_cf_info *info = ah->private_data;
@@ -235,7 +235,7 @@ static __devexit int rb153_pata_driver_remove(struct platform_device *pdev)
 
 static struct platform_driver rb153_pata_platform_driver = {
        .probe          = rb153_pata_driver_probe,
-       .remove         = __devexit_p(rb153_pata_driver_remove),
+       .remove         = rb153_pata_driver_remove,
        .driver  = {
                .name   = DRV_NAME,
                .owner  = THIS_MODULE,
index d80a6a3a133ab3bbe889e6f7e83a637628c1cbad..7fbabb00e4d26306765b1dc9b3620817bb250ac0 100644 (file)
@@ -1083,7 +1083,7 @@ static void adm5120_switch_cleanup(void)
        adm5120_switch_rx_ring_free();
 }
 
-static int __devinit adm5120_switch_probe(struct platform_device *pdev)
+static int adm5120_switch_probe(struct platform_device *pdev)
 {
        u32 t;
        int i, err;
index 99ea9d530b6d5cc52c217ca3ca3edee157c51942..798fd2208106a3520fdfa8366531215c75022c14 100644 (file)
@@ -109,7 +109,7 @@ static void admhc_adm5120_remove(struct usb_hcd *hcd,
        usb_put_hcd(hcd);
 }
 
-static int __devinit admhc_adm5120_start(struct usb_hcd *hcd)
+static int admhc_adm5120_start(struct usb_hcd *hcd)
 {
        struct admhcd   *ahcd = hcd_to_admhcd(hcd);
        int             ret;