diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-02-19 20:52:06 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2013-02-19 20:52:06 +0000 |
commit | 4341b11f3eacb77d5e04ce70a9d30a05918b7c3b (patch) | |
tree | f1424e5630d957cac5469dd260a0037ff8957113 /target/linux/ar71xx/files/drivers/spi/spi-rb4xx-cpld.c | |
parent | 7d0d29ab6e99be9a1ed98ff5c816821d6f41e417 (diff) | |
download | mtk-20170518-4341b11f3eacb77d5e04ce70a9d30a05918b7c3b.zip mtk-20170518-4341b11f3eacb77d5e04ce70a9d30a05918b7c3b.tar.gz mtk-20170518-4341b11f3eacb77d5e04ce70a9d30a05918b7c3b.tar.bz2 |
ar71xx: remove __dev{init,exit} annotations from kernel files
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 35687
Diffstat (limited to 'target/linux/ar71xx/files/drivers/spi/spi-rb4xx-cpld.c')
-rw-r--r-- | target/linux/ar71xx/files/drivers/spi/spi-rb4xx-cpld.c | 6 |
1 files changed, 3 insertions, 3 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 4e8ce31..a8d5282 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) |