cros_ec: Use udevice instead of cros_ec_dev for keyboard functions
authorSimon Glass <sjg@chromium.org>
Mon, 19 Oct 2015 03:17:14 +0000 (21:17 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 20 Nov 2015 03:13:40 +0000 (20:13 -0700)
commit745009c4d081a9fb5504ce3e97b39e92cbe77ef4
tree695ac969565a22a06a78303185a117f4cc345507
parent66877b0f5fc96906d70f1264b3b8102d2156360f
cros_ec: Use udevice instead of cros_ec_dev for keyboard functions

In preparation for converting the cros_ec keyboard driver to driver model,
adjust the cros_ec functions it will use to use a normal struct udevice.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/input/cros_ec_keyb.c
drivers/misc/cros_ec.c
include/cros_ec.h