summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorMary Ruthven <mruthven@chromium.org>2021-11-09 17:23:54 -0600
committerCommit Bot <commit-bot@chromium.org>2021-11-18 04:51:49 +0000
commit34f01d9aec1eb5a71843080e11c47ca3acaaffcb (patch)
treeeccff890614b366b1928324d229e03031186c0e7 /common
parent67691dada3300afea7371eec5b7dbdf47347bc5b (diff)
downloadchrome-ec-34f01d9aec1eb5a71843080e11c47ca3acaaffcb.tar.gz
Revert "stm32/usb: Add HOOK_USB_PM_CHANGE, called when USB is resumed/suspended"
This reverts commit 76927bdc5a17ddbdc9fc601b761c2a4984ecc1e9. BUG=b:200823466 TEST=make buildall -j Change-Id: Iae1cf9c676788ffaf9367b0755356950e9ee8ca6 Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3273437 Reviewed-by: Vadim Sukhomlinov <sukhomlinov@chromium.org>
Diffstat (limited to 'common')
-rw-r--r--common/hooks.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/common/hooks.c b/common/hooks.c
index a4768faffb..c029c5c0da 100644
--- a/common/hooks.c
+++ b/common/hooks.c
@@ -50,9 +50,6 @@ static const struct hook_ptrs hook_list[] = {
#ifdef CONFIG_CASE_CLOSED_DEBUG_V1
{__hooks_ccd_change, __hooks_ccd_change_end},
#endif
-#ifdef CONFIG_USB_SUSPEND
- {__hooks_usb_change, __hooks_usb_change_end},
-#endif
{__hooks_tick, __hooks_tick_end},
{__hooks_second, __hooks_second_end},
};