dm: cros_ec: Add support for driver model
authorSimon Glass <sjg@chromium.org>
Tue, 14 Oct 2014 05:42:14 +0000 (23:42 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 22 Oct 2014 16:36:53 +0000 (10:36 -0600)
commit84d6cbd3029e8b16e201f1129c300fae258c0f9c
tree173dac18c98c963f0c0993f33e1035284d0b20bf
parentfda6fac39bb915fdb0ff31b998336d3a5f5c71a9
dm: cros_ec: Add support for driver model

Add support for driver model if enabled. This involves minimal changes
to the code, mostly just plumbing around the edges.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
common/cros_ec.c
drivers/misc/cros_ec.c
drivers/misc/cros_ec_sandbox.c
include/cros_ec.h
include/dm/uclass-id.h