diff options
author | Mary Ruthven <mruthven@chromium.org> | 2021-11-12 16:08:39 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-11-18 04:56:10 +0000 |
commit | c3c0903374335049d54947e2ef440e5b4068ccc5 (patch) | |
tree | 2b1af47680dd19aad234d9a778b6bb950e6aaafb /include | |
parent | 0f7b19b82f8961ac67f45123dcfa9036daf8e935 (diff) | |
download | chrome-ec-c3c0903374335049d54947e2ef440e5b4068ccc5.tar.gz |
Revert "common/led_common: Add API for controlling LED state"
This reverts commit 2bb9aec01aded925b726f7b18a66cdad181ac8db.
BUG=b:200823466
TEST=make buildall -j
Change-Id: Ia3a6d52c21dd864898cf91a31e6e742cb6b915f1
Signed-off-by: Mary Ruthven <mruthven@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3285827
Reviewed-by: Vadim Sukhomlinov <sukhomlinov@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/ec_commands.h | 2 | ||||
-rw-r--r-- | include/led_common.h | 16 |
2 files changed, 0 insertions, 18 deletions
diff --git a/include/ec_commands.h b/include/ec_commands.h index c3f86b97d5..3343afbbac 100644 --- a/include/ec_commands.h +++ b/include/ec_commands.h @@ -2175,8 +2175,6 @@ enum ec_led_id { EC_LED_ID_LEFT_LED, /* LED to indicate right side */ EC_LED_ID_RIGHT_LED, - /* LED to indicate recovery mode with HW_REINIT */ - EC_LED_ID_RECOVERY_HW_REINIT_LED, /* LED to indicate sysrq debug mode. */ EC_LED_ID_SYSRQ_DEBUG_LED, diff --git a/include/led_common.h b/include/led_common.h index a66455b008..ddeb5f80a0 100644 --- a/include/led_common.h +++ b/include/led_common.h @@ -67,20 +67,4 @@ int led_set_brightness(enum ec_led_id led_id, const uint8_t *brightness); * */ void led_enable(int enable); - -enum ec_led_state { - LED_STATE_OFF = 0, - LED_STATE_ON = 1, - LED_STATE_RESET = 2, -}; - -/** - * Control state of LED. - * - * @param led_id ID of LED to control - * @param state 0=off, 1=on, 2=reset to default - * - */ -void led_control(enum ec_led_id id, enum ec_led_state state); - #endif /* __CROS_EC_LED_COMMON_H */ |