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/leds | |
parent | 7d0d29ab6e99be9a1ed98ff5c816821d6f41e417 (diff) | |
download | upstream-4341b11f3eacb77d5e04ce70a9d30a05918b7c3b.tar.gz upstream-4341b11f3eacb77d5e04ce70a9d30a05918b7c3b.tar.bz2 upstream-4341b11f3eacb77d5e04ce70a9d30a05918b7c3b.zip |
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/leds')
-rw-r--r-- | target/linux/ar71xx/files/drivers/leds/leds-rb750.c | 6 | ||||
-rw-r--r-- | target/linux/ar71xx/files/drivers/leds/leds-wndr3700-usb.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/target/linux/ar71xx/files/drivers/leds/leds-rb750.c b/target/linux/ar71xx/files/drivers/leds/leds-rb750.c index 483e4fc967..79e98b4882 100644 --- a/target/linux/ar71xx/files/drivers/leds/leds-rb750.c +++ b/target/linux/ar71xx/files/drivers/leds/leds-rb750.c @@ -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, diff --git a/target/linux/ar71xx/files/drivers/leds/leds-wndr3700-usb.c b/target/linux/ar71xx/files/drivers/leds/leds-wndr3700-usb.c index 42f5b70bd8..e6565dcdcd 100644 --- a/target/linux/ar71xx/files/drivers/leds/leds-wndr3700-usb.c +++ b/target/linux/ar71xx/files/drivers/leds/leds-wndr3700-usb.c @@ -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, |