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

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35687
This commit is contained in:
Gabor Juhos 2013-02-19 20:52:06 +00:00
parent 7d0d29ab6e
commit 4341b11f3e
13 changed files with 34 additions and 34 deletions

View File

@ -151,7 +151,7 @@ static struct i2c_board_info nbg460n_i2c_devs[] __initdata = {
},
};
static void __devinit nbg460n_i2c_init(void)
static void nbg460n_i2c_init(void)
{
/* The gpio interface */
platform_device_register(&nbg460n_i2c_device);

View File

@ -74,7 +74,7 @@ static void nxp_74hc153_set_value(struct gpio_chip *gc,
/* not supported */
}
static int __devinit nxp_74hc153_probe(struct platform_device *pdev)
static int nxp_74hc153_probe(struct platform_device *pdev)
{
struct nxp_74hc153_platform_data *pdata;
struct nxp_74hc153_chip *nxp;
@ -222,7 +222,7 @@ static int nxp_74hc153_remove(struct platform_device *pdev)
static struct platform_driver nxp_74hc153_driver = {
.probe = nxp_74hc153_probe,
.remove = __devexit_p(nxp_74hc153_remove),
.remove = nxp_74hc153_remove,
.driver = {
.name = NXP_74HC153_DRIVER_NAME,
.owner = THIS_MODULE,

View File

@ -52,7 +52,7 @@ static void rb750_led_brightness_set(struct led_classdev *led_cdev,
rbled->latch_change(rbled->mask, 0);
}
static int __devinit rb750_led_probe(struct platform_device *pdev)
static int rb750_led_probe(struct platform_device *pdev)
{
struct rb750_led_platform_data *pdata;
struct rb750_led_drvdata *drvdata;
@ -101,7 +101,7 @@ err:
return ret;
}
static int __devexit rb750_led_remove(struct platform_device *pdev)
static int rb750_led_remove(struct platform_device *pdev)
{
struct rb750_led_drvdata *drvdata;
int i;
@ -116,7 +116,7 @@ static int __devexit rb750_led_remove(struct platform_device *pdev)
static struct platform_driver rb750_led_driver = {
.probe = rb750_led_probe,
.remove = __devexit_p(rb750_led_remove),
.remove = rb750_led_remove,
.driver = {
.name = DRV_NAME,
.owner = THIS_MODULE,

View File

@ -37,12 +37,12 @@ static struct led_classdev wndr3700_usb_led = {
.brightness_get = wndr3700_usb_led_get,
};
static int __devinit wndr3700_usb_led_probe(struct platform_device *pdev)
static int wndr3700_usb_led_probe(struct platform_device *pdev)
{
return led_classdev_register(&pdev->dev, &wndr3700_usb_led);
}
static int __devexit wndr3700_usb_led_remove(struct platform_device *pdev)
static int wndr3700_usb_led_remove(struct platform_device *pdev)
{
led_classdev_unregister(&wndr3700_usb_led);
return 0;
@ -50,7 +50,7 @@ static int __devexit wndr3700_usb_led_remove(struct platform_device *pdev)
static struct platform_driver wndr3700_usb_led_driver = {
.probe = wndr3700_usb_led_probe,
.remove = __devexit_p(wndr3700_usb_led_remove),
.remove = wndr3700_usb_led_remove,
.driver = {
.name = DRIVER_NAME,
.owner = THIS_MODULE,

View File

@ -872,7 +872,7 @@ ar934x_nfc_irq_handler(int irq, void *data)
return IRQ_HANDLED;
}
static int __devinit
static int
ar934x_nfc_init_tail(struct mtd_info *mtd)
{
struct ar934x_nfc *nfc = mtd_to_ar934x_nfc(mtd);
@ -998,7 +998,7 @@ ar934x_nfc_init_tail(struct mtd_info *mtd)
return err;
}
static int __devinit
static int
ar934x_nfc_probe(struct platform_device *pdev)
{
static const char *part_probes[] = { "cmdlinepart", NULL, };
@ -1128,7 +1128,7 @@ err_free_nand:
return ret;
}
static int __devexit
static int
ar934x_nfc_remove(struct platform_device *pdev)
{
struct ar934x_nfc *nfc;
@ -1147,7 +1147,7 @@ ar934x_nfc_remove(struct platform_device *pdev)
static struct platform_driver ar934x_nfc_driver = {
.probe = ar934x_nfc_probe,
.remove = __devexit_p(ar934x_nfc_remove),
.remove = ar934x_nfc_remove,
.driver = {
.name = AR934X_NFC_DRIVER_NAME,
.owner = THIS_MODULE,

View File

@ -136,7 +136,7 @@ static void rb4xx_nand_read_buf(struct mtd_info *mtd, unsigned char *buf,
pr_err("rb4xx_nand: read buf failed, err=%d\n", err);
}
static int __devinit rb4xx_nand_probe(struct platform_device *pdev)
static int rb4xx_nand_probe(struct platform_device *pdev)
{
struct rb4xx_nand_info *info;
int ret;
@ -261,7 +261,7 @@ err:
return ret;
}
static int __devexit rb4xx_nand_remove(struct platform_device *pdev)
static int rb4xx_nand_remove(struct platform_device *pdev)
{
struct rb4xx_nand_info *info = platform_get_drvdata(pdev);
@ -278,7 +278,7 @@ static int __devexit rb4xx_nand_remove(struct platform_device *pdev)
static struct platform_driver rb4xx_nand_driver = {
.probe = rb4xx_nand_probe,
.remove = __devexit_p(rb4xx_nand_remove),
.remove = rb4xx_nand_remove,
.driver = {
.name = DRV_NAME,
.owner = THIS_MODULE,

View File

@ -248,7 +248,7 @@ static void __init rb750_nand_gpio_init(struct rb750_nand_info *info)
info->pdata->latch_change(~out & RB750_NAND_IO0, out & RB750_NAND_IO0);
}
static int __devinit rb750_nand_probe(struct platform_device *pdev)
static int rb750_nand_probe(struct platform_device *pdev)
{
struct rb750_nand_info *info;
struct rb7xx_nand_platform_data *pdata;
@ -315,7 +315,7 @@ err_free_info:
return ret;
}
static int __devexit rb750_nand_remove(struct platform_device *pdev)
static int rb750_nand_remove(struct platform_device *pdev)
{
struct rb750_nand_info *info = platform_get_drvdata(pdev);
@ -328,7 +328,7 @@ static int __devexit rb750_nand_remove(struct platform_device *pdev)
static struct platform_driver rb750_nand_driver = {
.probe = rb750_nand_probe,
.remove = __devexit_p(rb750_nand_remove),
.remove = rb750_nand_remove,
.driver = {
.name = DRV_NAME,
.owner = THIS_MODULE,

View File

@ -1165,7 +1165,7 @@ void ag71xx_ar7240_stop(struct ag71xx *ag)
cancel_delayed_work_sync(&ag->link_work);
}
int __devinit ag71xx_ar7240_init(struct ag71xx *ag)
int ag71xx_ar7240_init(struct ag71xx *ag)
{
struct ar7240sw *as;

View File

@ -1056,7 +1056,7 @@ static const struct net_device_ops ag71xx_netdev_ops = {
#endif
};
static __devinit const char *ag71xx_get_phy_if_mode_name(phy_interface_t mode)
static const char *ag71xx_get_phy_if_mode_name(phy_interface_t mode)
{
switch (mode) {
case PHY_INTERFACE_MODE_MII:
@ -1077,7 +1077,7 @@ static __devinit const char *ag71xx_get_phy_if_mode_name(phy_interface_t mode)
}
static int __devinit ag71xx_probe(struct platform_device *pdev)
static int ag71xx_probe(struct platform_device *pdev)
{
struct net_device *dev;
struct resource *res;
@ -1210,7 +1210,7 @@ err_out:
return err;
}
static int __devexit ag71xx_remove(struct platform_device *pdev)
static int ag71xx_remove(struct platform_device *pdev)
{
struct net_device *dev = platform_get_drvdata(pdev);
@ -1231,7 +1231,7 @@ static int __devexit ag71xx_remove(struct platform_device *pdev)
static struct platform_driver ag71xx_driver = {
.probe = ag71xx_probe,
.remove = __exit_p(ag71xx_remove),
.remove = ag71xx_remove,
.driver = {
.name = AG71XX_DRV_NAME,
}

View File

@ -205,7 +205,7 @@ static int ag71xx_mdio_write(struct mii_bus *bus, int addr, int reg, u16 val)
return 0;
}
static int __devinit ag71xx_mdio_probe(struct platform_device *pdev)
static int ag71xx_mdio_probe(struct platform_device *pdev)
{
struct ag71xx_mdio_platform_data *pdata;
struct ag71xx_mdio *am;
@ -281,7 +281,7 @@ err_out:
return err;
}
static int __devexit ag71xx_mdio_remove(struct platform_device *pdev)
static int ag71xx_mdio_remove(struct platform_device *pdev)
{
struct ag71xx_mdio *am = platform_get_drvdata(pdev);
@ -298,7 +298,7 @@ static int __devexit ag71xx_mdio_remove(struct platform_device *pdev)
static struct platform_driver ag71xx_mdio_driver = {
.probe = ag71xx_mdio_probe,
.remove = __exit_p(ag71xx_mdio_remove),
.remove = ag71xx_mdio_remove,
.driver = {
.name = "ag71xx-mdio",
}

View File

@ -193,7 +193,7 @@ static struct mii_bus *dev_to_mii_bus(struct device *dev)
return NULL;
}
int __devinit ag71xx_phy_connect(struct ag71xx *ag)
int ag71xx_phy_connect(struct ag71xx *ag)
{
struct ag71xx_platform_data *pdata = ag71xx_get_pdata(ag);

View File

@ -356,7 +356,7 @@ static int rb4xx_cpld_gpio_init(struct rb4xx_cpld *cpld, unsigned int base)
return err;
}
static int __devinit rb4xx_cpld_probe(struct spi_device *spi)
static int rb4xx_cpld_probe(struct spi_device *spi)
{
struct rb4xx_cpld *cpld;
struct rb4xx_cpld_platform_data *pdata;
@ -401,7 +401,7 @@ err_drvdata:
return err;
}
static int __devexit rb4xx_cpld_remove(struct spi_device *spi)
static int rb4xx_cpld_remove(struct spi_device *spi)
{
struct rb4xx_cpld *cpld;
@ -420,7 +420,7 @@ static struct spi_driver rb4xx_cpld_driver = {
.owner = THIS_MODULE,
},
.probe = rb4xx_cpld_probe,
.remove = __devexit_p(rb4xx_cpld_remove),
.remove = rb4xx_cpld_remove,
};
static int __init rb4xx_cpld_init(void)

View File

@ -526,7 +526,7 @@ static int vsc7385_detect(struct vsc7385 *vsc)
return 0;
}
static int __devinit vsc7385_probe(struct spi_device *spi)
static int vsc7385_probe(struct spi_device *spi)
{
struct vsc7385 *vsc;
struct vsc7385_platform_data *pdata;
@ -581,7 +581,7 @@ err_drvdata:
return err;
}
static int __devexit vsc7385_remove(struct spi_device *spi)
static int vsc7385_remove(struct spi_device *spi)
{
struct vsc7385_data *vsc;
@ -599,7 +599,7 @@ static struct spi_driver vsc7385_driver = {
.owner = THIS_MODULE,
},
.probe = vsc7385_probe,
.remove = __devexit_p(vsc7385_remove),
.remove = vsc7385_remove,
};
static int __init vsc7385_init(void)