summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Baltieri <fabiobaltieri@google.com>2022-02-16 18:49:41 +0000
committerCommit Bot <commit-bot@chromium.org>2022-02-18 01:06:21 +0000
commit5cb1740ecc517969c0fd2a30cf429deb18dd55d6 (patch)
treec726a3b63db839ca415b3a1d5b3c68242ede941a
parent66fa9b729cfd2d64123c2b3b62519b8a172f5a6e (diff)
downloadchrome-ec-5cb1740ecc517969c0fd2a30cf429deb18dd55d6.tar.gz
zephyr: shim: drop the PWM_CH_KBLIGHT definition
This is not needed anymore now that the kblight driver uses the Zephyr APIs, drop the PWM channel definition definition. BRANCH=none BUG=b:217741090 TEST=build and run, volteer TEST=cq dry run Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com> Change-Id: Icc2b4c8b47c06502c06b1f48cc359a8176721e12 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3468506 Reviewed-by: Tristan Honscheid <honscheid@google.com>
-rw-r--r--zephyr/shim/include/config_chip.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/zephyr/shim/include/config_chip.h b/zephyr/shim/include/config_chip.h
index 5ce4b52bd2..4366229a61 100644
--- a/zephyr/shim/include/config_chip.h
+++ b/zephyr/shim/include/config_chip.h
@@ -695,7 +695,6 @@
#ifdef CONFIG_PLATFORM_EC_PWM_KBLIGHT
#define CONFIG_PWM_KBLIGHT
#define CONFIG_KEYBOARD_BACKLIGHT
-#define PWM_CH_KBLIGHT PWM_CHANNEL(DT_NODELABEL(kblight))
#endif
#undef CONFIG_KBLIGHT_ENABLE_PIN