projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge https://gitlab.denx.de/u-boot/custodians/u-boot-sh
[platform/kernel/u-boot.git]
/
common
/
cros_ec.c
diff --git
a/common/cros_ec.c
b/common/cros_ec.c
index
4ca15e1
..
e66471e
100644
(file)
--- a/
common/cros_ec.c
+++ b/
common/cros_ec.c
@@
-25,15
+25,3
@@
struct udevice *board_get_cros_ec_dev(void)
}
return dev;
}
-
-int cros_ec_get_error(void)
-{
- struct udevice *dev;
- int ret;
-
- ret = uclass_get_device(UCLASS_CROS_EC, 0, &dev);
- if (ret && ret != -ENODEV)
- return ret;
-
- return 0;
-}