Commit 7e0c77a2 authored by Simon Glass's avatar Simon Glass

cros_ec: Remove unused cros_ec_board_init() function

Now that driver model handles cros_ec init, we can drop this special code.
Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 3db02b1b
......@@ -28,11 +28,6 @@ struct cros_ec_dev *board_get_cros_ec_dev(void)
return dev_get_uclass_priv(dev);
}
int cros_ec_board_init(void)
{
return 0;
}
int cros_ec_get_error(void)
{
struct udevice *dev;
......
......@@ -362,13 +362,6 @@ int cros_ec_set_ldo(struct cros_ec_dev *dev, uint8_t index, uint8_t state);
*/
int cros_ec_get_ldo(struct cros_ec_dev *dev, uint8_t index, uint8_t *state);
/**
* Initialize the Chrome OS EC at board initialization time.
*
* @return 0 if ok, -ve on error
*/
int cros_ec_board_init(void);
/**
* Get access to the error reported when cros_ec_board_init() was called
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment