summaryrefslogtreecommitdiff
path: root/target/linux/ar71xx/files/drivers/leds/leds-wndr3700-usb.c
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ar71xx/files/drivers/leds/leds-wndr3700-usb.c')
-rw-r--r--target/linux/ar71xx/files/drivers/leds/leds-wndr3700-usb.c6
1 files changed, 3 insertions, 3 deletions
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 42f5b70..e6565dc 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,