diff options
author | Dan Willemsen <dwillemsen@nvidia.com> | 2013-06-16 19:31:14 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2013-09-14 13:15:04 -0700 |
commit | 786d24428bc997a948dfb4ce2985167e9627da43 (patch) | |
tree | 77a744b02156dd30f099a988c5170ecd00752e5f /drivers/leds | |
parent | 8e0fc35e02ff801026b40387ac7f53c8d252b1fc (diff) |
fixup: remove __dev*
Diffstat (limited to 'drivers/leds')
-rw-r--r-- | drivers/leds/leds-max8831.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/leds/leds-max8831.c b/drivers/leds/leds-max8831.c index 0ae7fe7bd2a8..d7727ceb02cf 100644 --- a/drivers/leds/leds-max8831.c +++ b/drivers/leds/leds-max8831.c @@ -146,7 +146,7 @@ static int max8831_led_set_blink(struct led_classdev *led_cdev, return 0; } -static int __devinit max8831_led_probe(struct platform_device *pdev) +static int max8831_led_probe(struct platform_device *pdev) { struct led_info *pdata = pdev->dev.platform_data; struct max8831_led *led; @@ -182,7 +182,7 @@ static int __devinit max8831_led_probe(struct platform_device *pdev) return 0; } -static int __devexit max8831_led_remove(struct platform_device *pdev) +static int max8831_led_remove(struct platform_device *pdev) { struct max8831_led *led = platform_get_drvdata(pdev); led_classdev_unregister(&led->cdev); @@ -196,7 +196,7 @@ static struct platform_driver max8831_led_driver = { .owner = THIS_MODULE, }, .probe = max8831_led_probe, - .remove = __devexit_p(max8831_led_remove), + .remove = max8831_led_remove, }; module_platform_driver(max8831_led_driver); |