projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[cascardo/linux.git]
/
drivers
/
leds
/
leds-pwm.c
diff --git
a/drivers/leds/leds-pwm.c
b/drivers/leds/leds-pwm.c
index
da3fa8d
..
666daf7
100644
(file)
--- a/
drivers/leds/leds-pwm.c
+++ b/
drivers/leds/leds-pwm.c
@@
-69,6
+69,7
@@
static int led_pwm_probe(struct platform_device *pdev)
led_dat->pwm = pwm_request(cur_led->pwm_id,
cur_led->name);
if (IS_ERR(led_dat->pwm)) {
+ ret = PTR_ERR(led_dat->pwm);
dev_err(&pdev->dev, "unable to request PWM %d\n",
cur_led->pwm_id);
goto err;