diff options
Diffstat (limited to 'drivers/leds/leds-pwm.c')
| -rw-r--r-- | drivers/leds/leds-pwm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/leds/leds-pwm.c b/drivers/leds/leds-pwm.c index f2e44c719437..2157524f277c 100644 --- a/drivers/leds/leds-pwm.c +++ b/drivers/leds/leds-pwm.c | |||
| @@ -26,7 +26,7 @@ | |||
| 26 | struct led_pwm_data { | 26 | struct led_pwm_data { |
| 27 | struct led_classdev cdev; | 27 | struct led_classdev cdev; |
| 28 | struct pwm_device *pwm; | 28 | struct pwm_device *pwm; |
| 29 | unsigned int active_low; | 29 | unsigned int active_low; |
| 30 | unsigned int period; | 30 | unsigned int period; |
| 31 | }; | 31 | }; |
| 32 | 32 | ||
| @@ -107,7 +107,7 @@ err: | |||
| 107 | return ret; | 107 | return ret; |
| 108 | } | 108 | } |
| 109 | 109 | ||
| 110 | static int __devexit led_pwm_remove(struct platform_device *pdev) | 110 | static int led_pwm_remove(struct platform_device *pdev) |
| 111 | { | 111 | { |
| 112 | int i; | 112 | int i; |
| 113 | struct led_pwm_platform_data *pdata = pdev->dev.platform_data; | 113 | struct led_pwm_platform_data *pdata = pdev->dev.platform_data; |
| @@ -125,7 +125,7 @@ static int __devexit led_pwm_remove(struct platform_device *pdev) | |||
| 125 | 125 | ||
| 126 | static struct platform_driver led_pwm_driver = { | 126 | static struct platform_driver led_pwm_driver = { |
| 127 | .probe = led_pwm_probe, | 127 | .probe = led_pwm_probe, |
| 128 | .remove = __devexit_p(led_pwm_remove), | 128 | .remove = led_pwm_remove, |
| 129 | .driver = { | 129 | .driver = { |
| 130 | .name = "leds_pwm", | 130 | .name = "leds_pwm", |
| 131 | .owner = THIS_MODULE, | 131 | .owner = THIS_MODULE, |
