Changeset 35687


Ignore:
Timestamp:
2013-02-19T21:52:06+01:00 (5 years ago)
Author:
juhosg
Message:

ar71xx: remove dev{init,exit} annotations from kernel files

Signed-off-by: Gabor Juhos <juhosg@…>

Location:
trunk/target/linux/ar71xx/files
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/files/arch/mips/ath79/mach-nbg460n.c

    r30405 r35687  
    152152}; 
    153153 
    154 static void __devinit nbg460n_i2c_init(void) 
     154static void nbg460n_i2c_init(void) 
    155155{ 
    156156        /* The gpio interface */ 
  • trunk/target/linux/ar71xx/files/drivers/gpio/gpio-nxp-74hc153.c

    r29850 r35687  
    7575} 
    7676 
    77 static int __devinit nxp_74hc153_probe(struct platform_device *pdev) 
     77static int nxp_74hc153_probe(struct platform_device *pdev) 
    7878{ 
    7979        struct nxp_74hc153_platform_data *pdata; 
     
    223223static struct platform_driver nxp_74hc153_driver = { 
    224224        .probe          = nxp_74hc153_probe, 
    225         .remove         = __devexit_p(nxp_74hc153_remove), 
     225        .remove         = nxp_74hc153_remove, 
    226226        .driver = { 
    227227                .name   = NXP_74HC153_DRIVER_NAME, 
  • trunk/target/linux/ar71xx/files/drivers/leds/leds-rb750.c

    r31023 r35687  
    5353} 
    5454 
    55 static int __devinit rb750_led_probe(struct platform_device *pdev) 
     55static int rb750_led_probe(struct platform_device *pdev) 
    5656{ 
    5757        struct rb750_led_platform_data *pdata; 
     
    102102} 
    103103 
    104 static int __devexit rb750_led_remove(struct platform_device *pdev) 
     104static int rb750_led_remove(struct platform_device *pdev) 
    105105{ 
    106106        struct rb750_led_drvdata *drvdata; 
     
    117117static struct platform_driver rb750_led_driver = { 
    118118        .probe          = rb750_led_probe, 
    119         .remove         = __devexit_p(rb750_led_remove), 
     119        .remove         = rb750_led_remove, 
    120120        .driver         = { 
    121121                .name   = DRV_NAME, 
  • trunk/target/linux/ar71xx/files/drivers/leds/leds-wndr3700-usb.c

    r30406 r35687  
    3838}; 
    3939 
    40 static int __devinit wndr3700_usb_led_probe(struct platform_device *pdev) 
     40static int wndr3700_usb_led_probe(struct platform_device *pdev) 
    4141{ 
    4242        return led_classdev_register(&pdev->dev, &wndr3700_usb_led); 
    4343} 
    4444 
    45 static int __devexit wndr3700_usb_led_remove(struct platform_device *pdev) 
     45static int wndr3700_usb_led_remove(struct platform_device *pdev) 
    4646{ 
    4747        led_classdev_unregister(&wndr3700_usb_led); 
     
    5151static struct platform_driver wndr3700_usb_led_driver = { 
    5252        .probe = wndr3700_usb_led_probe, 
    53         .remove = __devexit_p(wndr3700_usb_led_remove), 
     53        .remove = wndr3700_usb_led_remove, 
    5454        .driver = { 
    5555                .name = DRIVER_NAME, 
  • trunk/target/linux/ar71xx/files/drivers/mtd/nand/ar934x_nfc.c

    r34588 r35687  
    873873} 
    874874 
    875 static int __devinit 
     875static int 
    876876ar934x_nfc_init_tail(struct mtd_info *mtd) 
    877877{ 
     
    999999} 
    10001000 
    1001 static int __devinit 
     1001static int 
    10021002ar934x_nfc_probe(struct platform_device *pdev) 
    10031003{ 
     
    11291129} 
    11301130 
    1131 static int __devexit 
     1131static int 
    11321132ar934x_nfc_remove(struct platform_device *pdev) 
    11331133{ 
     
    11481148static struct platform_driver ar934x_nfc_driver = { 
    11491149        .probe          = ar934x_nfc_probe, 
    1150         .remove         = __devexit_p(ar934x_nfc_remove), 
     1150        .remove         = ar934x_nfc_remove, 
    11511151        .driver = { 
    11521152                .name   = AR934X_NFC_DRIVER_NAME, 
  • trunk/target/linux/ar71xx/files/drivers/mtd/nand/rb4xx_nand.c

    r34276 r35687  
    137137} 
    138138 
    139 static int __devinit rb4xx_nand_probe(struct platform_device *pdev) 
     139static int rb4xx_nand_probe(struct platform_device *pdev) 
    140140{ 
    141141        struct rb4xx_nand_info  *info; 
     
    262262} 
    263263 
    264 static int __devexit rb4xx_nand_remove(struct platform_device *pdev) 
     264static int rb4xx_nand_remove(struct platform_device *pdev) 
    265265{ 
    266266        struct rb4xx_nand_info *info = platform_get_drvdata(pdev); 
     
    279279static struct platform_driver rb4xx_nand_driver = { 
    280280        .probe  = rb4xx_nand_probe, 
    281         .remove = __devexit_p(rb4xx_nand_remove), 
     281        .remove = rb4xx_nand_remove, 
    282282        .driver = { 
    283283                .name   = DRV_NAME, 
  • trunk/target/linux/ar71xx/files/drivers/mtd/nand/rb750_nand.c

    r34279 r35687  
    249249} 
    250250 
    251 static int __devinit rb750_nand_probe(struct platform_device *pdev) 
     251static int rb750_nand_probe(struct platform_device *pdev) 
    252252{ 
    253253        struct rb750_nand_info  *info; 
     
    316316} 
    317317 
    318 static int __devexit rb750_nand_remove(struct platform_device *pdev) 
     318static int rb750_nand_remove(struct platform_device *pdev) 
    319319{ 
    320320        struct rb750_nand_info *info = platform_get_drvdata(pdev); 
     
    329329static struct platform_driver rb750_nand_driver = { 
    330330        .probe  = rb750_nand_probe, 
    331         .remove = __devexit_p(rb750_nand_remove), 
     331        .remove = rb750_nand_remove, 
    332332        .driver = { 
    333333                .name   = DRV_NAME, 
  • trunk/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_ar7240.c

    r35564 r35687  
    11661166} 
    11671167 
    1168 int __devinit ag71xx_ar7240_init(struct ag71xx *ag) 
     1168int ag71xx_ar7240_init(struct ag71xx *ag) 
    11691169{ 
    11701170        struct ar7240sw *as; 
  • trunk/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c

    r34880 r35687  
    10571057}; 
    10581058 
    1059 static __devinit const char *ag71xx_get_phy_if_mode_name(phy_interface_t mode) 
     1059static const char *ag71xx_get_phy_if_mode_name(phy_interface_t mode) 
    10601060{ 
    10611061        switch (mode) { 
     
    10781078 
    10791079 
    1080 static int __devinit ag71xx_probe(struct platform_device *pdev) 
     1080static int ag71xx_probe(struct platform_device *pdev) 
    10811081{ 
    10821082        struct net_device *dev; 
     
    12111211} 
    12121212 
    1213 static int __devexit ag71xx_remove(struct platform_device *pdev) 
     1213static int ag71xx_remove(struct platform_device *pdev) 
    12141214{ 
    12151215        struct net_device *dev = platform_get_drvdata(pdev); 
     
    12321232static struct platform_driver ag71xx_driver = { 
    12331233        .probe          = ag71xx_probe, 
    1234         .remove         = __exit_p(ag71xx_remove), 
     1234        .remove         = ag71xx_remove, 
    12351235        .driver = { 
    12361236                .name   = AG71XX_DRV_NAME, 
  • trunk/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_mdio.c

    r33342 r35687  
    206206} 
    207207 
    208 static int __devinit ag71xx_mdio_probe(struct platform_device *pdev) 
     208static int ag71xx_mdio_probe(struct platform_device *pdev) 
    209209{ 
    210210        struct ag71xx_mdio_platform_data *pdata; 
     
    282282} 
    283283 
    284 static int __devexit ag71xx_mdio_remove(struct platform_device *pdev) 
     284static int ag71xx_mdio_remove(struct platform_device *pdev) 
    285285{ 
    286286        struct ag71xx_mdio *am = platform_get_drvdata(pdev); 
     
    299299static struct platform_driver ag71xx_mdio_driver = { 
    300300        .probe          = ag71xx_mdio_probe, 
    301         .remove         = __exit_p(ag71xx_mdio_remove), 
     301        .remove         = ag71xx_mdio_remove, 
    302302        .driver = { 
    303303                .name   = "ag71xx-mdio", 
  • trunk/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_phy.c

    r34848 r35687  
    194194} 
    195195 
    196 int __devinit ag71xx_phy_connect(struct ag71xx *ag) 
     196int ag71xx_phy_connect(struct ag71xx *ag) 
    197197{ 
    198198        struct ag71xx_platform_data *pdata = ag71xx_get_pdata(ag); 
  • trunk/target/linux/ar71xx/files/drivers/spi/spi-rb4xx-cpld.c

    r30406 r35687  
    357357} 
    358358 
    359 static int __devinit rb4xx_cpld_probe(struct spi_device *spi) 
     359static int rb4xx_cpld_probe(struct spi_device *spi) 
    360360{ 
    361361        struct rb4xx_cpld *cpld; 
     
    402402} 
    403403 
    404 static int __devexit rb4xx_cpld_remove(struct spi_device *spi) 
     404static int rb4xx_cpld_remove(struct spi_device *spi) 
    405405{ 
    406406        struct rb4xx_cpld *cpld; 
     
    421421        }, 
    422422        .probe          = rb4xx_cpld_probe, 
    423         .remove         = __devexit_p(rb4xx_cpld_remove), 
     423        .remove         = rb4xx_cpld_remove, 
    424424}; 
    425425 
  • trunk/target/linux/ar71xx/files/drivers/spi/spi-vsc7385.c

    r29853 r35687  
    527527} 
    528528 
    529 static int __devinit vsc7385_probe(struct spi_device *spi) 
     529static int vsc7385_probe(struct spi_device *spi) 
    530530{ 
    531531        struct vsc7385 *vsc; 
     
    582582} 
    583583 
    584 static int __devexit vsc7385_remove(struct spi_device *spi) 
     584static int vsc7385_remove(struct spi_device *spi) 
    585585{ 
    586586        struct vsc7385_data     *vsc; 
     
    600600        }, 
    601601        .probe          = vsc7385_probe, 
    602         .remove         = __devexit_p(vsc7385_remove), 
     602        .remove         = vsc7385_remove, 
    603603}; 
    604604 
Note: See TracChangeset for help on using the changeset viewer.