projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'backlight-for-linus-4.8' of git://git.kernel.org/pub/scm/linux/kernel...
[deliverable/linux.git]
/
drivers
/
leds
/
led-triggers.c
diff --git
a/drivers/leds/led-triggers.c
b/drivers/leds/led-triggers.c
index 55fa65e1ae030dc2840d7d53e74975f4c6eaf311..c92702a684cedeaad3d2932772e62cf971c98037 100644
(file)
--- a/
drivers/leds/led-triggers.c
+++ b/
drivers/leds/led-triggers.c
@@
-60,6
+60,8
@@
ssize_t led_trigger_store(struct device *dev, struct device_attribute *attr,
goto unlock;
}
}
+ /* we come here only if buf matches no trigger */
+ ret = -EINVAL;
up_read(&triggers_list_lock);
unlock:
This page took
0.039051 seconds
and
5
git commands to generate.