diff options
author | Douglas Anderson <dianders@chromium.org> | 2016-07-25 23:47:52 +0300 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2016-07-26 22:09:54 +0300 |
commit | 8f97f8e58bd385d3c863a0437eae21a3ca7cc5d8 (patch) | |
tree | 1b4acf1a5352a68669231ffcdb16a383e689f814 /include/linux/serio.h | |
parent | 0097ff3d5dad1f76c5e1099d849d52509500708c (diff) | |
download | linux-8f97f8e58bd385d3c863a0437eae21a3ca7cc5d8.tar.xz |
Input: cros_ec_keyb - cleanup use of dev
In cros_ec_keyb we stored "dev" in "struct cros_ec_keyb", but this was
the EC's dev pointer and not the keyboard's. Let's clean this up to
make it the keyboard's dev pointer. This could be useful in future
patches but also has the nice effect of changing a few printouts to
include the name of the keyboard device instead of the EC device, so we
will see:
[ 1.224648] cros-ec-keyb ff110000.spi:ec@0:keyboard-controller: valid_keys[00] = 0x14
instead of:
[ 1.224505] cros-ec-spi spi0.0: valid_keys[00] = 0x14
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'include/linux/serio.h')
0 files changed, 0 insertions, 0 deletions