From: Simon Glass Date: Thu, 26 Mar 2015 15:29:36 +0000 (-0600) Subject: cros_ec: Remove unused cros_ec_board_init() function X-Git-Tag: v2015.07-rc1~277 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7e0c77a2b80e4ffd398cffc7ecd407ddaa2a1cad;p=u-boot 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: Simon Glass --- diff --git a/common/cros_ec.c b/common/cros_ec.c index f9c74ca0b9..7a4f785bc8 100644 --- a/common/cros_ec.c +++ b/common/cros_ec.c @@ -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; diff --git a/include/cros_ec.h b/include/cros_ec.h index 850c09e11d..3b2be2c2fa 100644 --- a/include/cros_ec.h +++ b/include/cros_ec.h @@ -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 *