]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
cros_ec: Remove unused cros_ec_board_init() function
authorSimon Glass <sjg@chromium.org>
Thu, 26 Mar 2015 15:29:36 +0000 (09:29 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 19:47:48 +0000 (21:47 +0200)
Now that driver model handles cros_ec init, we can drop this special code.

Signed-off-by: Simon Glass <sjg@chromium.org>
common/cros_ec.c
include/cros_ec.h

index f9c74ca0b990d9c048a4d6f6cc00a8c31dc670ff..7a4f785bc836f9b8fbeaea1c193cbe474ea89d52 100644 (file)
@@ -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;
index 850c09e11da431294d2f819720603be5ba0e8d49..3b2be2c2fa642dc91c8511f07b9960624f10f5b3 100644 (file)
@@ -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
  *