input: Allow updating of keyboard LEDs
authorSimon Glass <sjg@chromium.org>
Wed, 11 Nov 2015 17:05:40 +0000 (10:05 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 20 Nov 2015 03:13:41 +0000 (20:13 -0700)
commit3b5f6f5001d0f3dfde98ccc6b9350fe74dac41f8
tree114c3fda09983d90591ee629923a934a390d196a
parentba42034267050d1a41479ba133d1c5b8679397f7
input: Allow updating of keyboard LEDs

Add a function which returns a new keyboard LED value when the LEDs need
updating.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/input/input.c
include/input.h