summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Baltieri <fabiobaltieri@google.com>2021-10-14 13:52:25 +0000
committerCommit Bot <commit-bot@chromium.org>2021-10-16 05:06:09 +0000
commit83ac00235fb61013e10cf8cbc69e89c710dd2bc0 (patch)
tree61aebd7865ce2c9f7a57832ae57d08911cbc5e4e
parent09e3123257d708a59e3ae110f628ecbae74b49db (diff)
downloadchrome-ec-83ac00235fb61013e10cf8cbc69e89c710dd2bc0.tar.gz
zephyr: shim: drop unused entries from pwm_map.h
Drop few entries from the various platforms pwm_map.h files. None of these seems to be used. BRANCH=none BUG=b:177452529 TEST=build and run on volteer TEST=gerrit cq Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com> Change-Id: I47d1283341e4750cd010dbe0eff8d959ce90ccde Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3222848 Commit-Queue: Yuval Peress <peress@google.com> Reviewed-by: Yuval Peress <peress@google.com>
-rw-r--r--zephyr/projects/it8xxx2_evb/include/pwm_map.h1
-rw-r--r--zephyr/projects/npcx_evb/npcx7/include/pwm_map.h1
-rw-r--r--zephyr/projects/npcx_evb/npcx9/include/pwm_map.h1
-rw-r--r--zephyr/projects/volteer/volteer/include/pwm_map.h3
4 files changed, 0 insertions, 6 deletions
diff --git a/zephyr/projects/it8xxx2_evb/include/pwm_map.h b/zephyr/projects/it8xxx2_evb/include/pwm_map.h
index 531b86ccf6..5386a85cbd 100644
--- a/zephyr/projects/it8xxx2_evb/include/pwm_map.h
+++ b/zephyr/projects/it8xxx2_evb/include/pwm_map.h
@@ -16,7 +16,6 @@
* TODO(b/177452529): eliminate the dependency on enum pwm_channel
* and configure this information directly from the device tree.
*/
-#define PWM_CH_FAN NAMED_PWM(test0)
#define PWM_CH_WITH_DSLEEP_FLAG NAMED_PWM(test1)
#endif /* __ZEPHYR_CHROME_PWM_MAP_H */
diff --git a/zephyr/projects/npcx_evb/npcx7/include/pwm_map.h b/zephyr/projects/npcx_evb/npcx7/include/pwm_map.h
index 371e95c116..62bf822099 100644
--- a/zephyr/projects/npcx_evb/npcx7/include/pwm_map.h
+++ b/zephyr/projects/npcx_evb/npcx7/include/pwm_map.h
@@ -10,7 +10,6 @@
#include "pwm/pwm.h"
-#define PWM_CH_FAN NAMED_PWM(fan)
#define PWM_CH_KBLIGHT NAMED_PWM(kblight)
#endif /* __ZEPHYR_PWM_MAP_H */
diff --git a/zephyr/projects/npcx_evb/npcx9/include/pwm_map.h b/zephyr/projects/npcx_evb/npcx9/include/pwm_map.h
index 371e95c116..62bf822099 100644
--- a/zephyr/projects/npcx_evb/npcx9/include/pwm_map.h
+++ b/zephyr/projects/npcx_evb/npcx9/include/pwm_map.h
@@ -10,7 +10,6 @@
#include "pwm/pwm.h"
-#define PWM_CH_FAN NAMED_PWM(fan)
#define PWM_CH_KBLIGHT NAMED_PWM(kblight)
#endif /* __ZEPHYR_PWM_MAP_H */
diff --git a/zephyr/projects/volteer/volteer/include/pwm_map.h b/zephyr/projects/volteer/volteer/include/pwm_map.h
index 67ab70936f..144a4e5710 100644
--- a/zephyr/projects/volteer/volteer/include/pwm_map.h
+++ b/zephyr/projects/volteer/volteer/include/pwm_map.h
@@ -16,10 +16,7 @@
* TODO(b/177452529): eliminate the dependency on enum pwm_channel
* and configure this information directly from the device tree.
*/
-#define PWM_CH_LED4_SIDESEL NAMED_PWM(led3_sidesel)
#define PWM_CH_KBLIGHT NAMED_PWM(kblight)
-#define PWM_CH_FAN NAMED_PWM(fan)
-
#endif /* __ZEPHYR_CHROME_PWM_MAP_H */