aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2017-03-16 11:55:33 +0100
committerDarren Hart (VMware) <dvhart@infradead.org>2017-04-13 10:12:43 -0700
commit1c7e28246e986a789a55f52ff681bf8d5d1dcada (patch)
tree5556692e5a67ed84cadc8d6c9b2b6cb626295b6f /tools/perf/scripts/python
parentplatform/x86: dell-*: Add a generic dell-laptop notifier chain (diff)
downloadlinux-1c7e28246e986a789a55f52ff681bf8d5d1dcada.tar.gz
linux-1c7e28246e986a789a55f52ff681bf8d5d1dcada.zip
platform/x86: dell-laptop: Refactor kbd_led_triggers_store()
Return -EINVAL immediately on invalid input, rather then doing the straight path in an if block and returning -EINVAL at the end of the function. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Pali Rohár <pali.rohar@gmail.com> Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions