At present we pass around a private pointer to specify the cros_ec device.
With driver model it makes more sense to pass the device. Update the code
to do this.

Signed-off-by: Simon Glass <s...@chromium.org>
---

 cmd/cros_ec.c                  |  24 +++---
 drivers/misc/cros_ec.c         | 147 +++++++++++++++++----------------
 drivers/misc/cros_ec_sandbox.c |   4 +-
 drivers/tpm/tpm-uclass.c       |   6 +-
 include/cros_ec.h              |  66 +++++++--------
 5 files changed, 122 insertions(+), 125 deletions(-)

Applied to u-boot-dm
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to