sandbox: Find keyboard driver using driver model
authorSimon Glass <sjg@chromium.org>
Sun, 19 Jun 2016 23:33:15 +0000 (17:33 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 11 Jul 2016 20:06:44 +0000 (14:06 -0600)
commit920c6965d11137fff45feccee7e1108875b196d0
treef77260fe2f5c72cc6f799055cc6e947eb2867612
parent39ea0ee925327c329053288724b42bda875b4074
sandbox: Find keyboard driver using driver model

The cros-ec keyboard is always a child of the cros-ec node. Rather than
searching the device tree, looking at the children. Remove the compat string
which is now unused.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/misc/cros_ec_sandbox.c
include/fdtdec.h
lib/fdtdec.c