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:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user