diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-02-19 20:52:06 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2013-02-19 20:52:06 +0000 |
commit | 0d1161d052e17092e838724c4593ea918a37078c (patch) | |
tree | e63d25624480d31cea7d9b59e7cf0fae92fe5a9a /target/linux/ar71xx/files/drivers/spi | |
parent | 63a4f4e0f20c553bde484727f2509e2e1521c079 (diff) |
ar71xx: remove __dev{init,exit} annotations from kernel files
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35687 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar71xx/files/drivers/spi')
-rw-r--r-- | target/linux/ar71xx/files/drivers/spi/spi-rb4xx-cpld.c | 6 | ||||
-rw-r--r-- | target/linux/ar71xx/files/drivers/spi/spi-vsc7385.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/target/linux/ar71xx/files/drivers/spi/spi-rb4xx-cpld.c b/target/linux/ar71xx/files/drivers/spi/spi-rb4xx-cpld.c index 4e8ce3105..a8d52825e 100644 --- a/target/linux/ar71xx/files/drivers/spi/spi-rb4xx-cpld.c +++ b/target/linux/ar71xx/files/drivers/spi/spi-rb4xx-cpld.c @@ -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) diff --git a/target/linux/ar71xx/files/drivers/spi/spi-vsc7385.c b/target/linux/ar71xx/files/drivers/spi/spi-vsc7385.c index 9340df268..b712e7187 100644 --- a/target/linux/ar71xx/files/drivers/spi/spi-vsc7385.c +++ b/target/linux/ar71xx/files/drivers/spi/spi-vsc7385.c @@ -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) |