All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] platform/chrome: cros_ec: remove reference to nonexistent CONFIG_SLEEP_TIMEOUT_MS
@ 2026-06-16  0:14 Ethan Nelson-Moore
  2026-06-16  1:39 ` Tzung-Bi Shih
  0 siblings, 1 reply; 2+ messages in thread
From: Ethan Nelson-Moore @ 2026-06-16  0:14 UTC (permalink / raw)
  To: Guenter Roeck, Tzung-Bi Shih, Gwendal Grignou, Jonathan Cameron,
	Sung-Chi Li, chrome-platform
  Cc: Ethan Nelson-Moore, Benson Leung

A comment in <linux/platform_data/cros_ec_commands.h> refers to
CONFIG_SLEEP_TIMEOUT_MS, which has never existed in the kernel. Simply
remove this reference, as the default timeout is defined immediately
below the comment.

Discovered while searching for CONFIG_* symbols referenced in code but
not defined in any Kconfig file.

Signed-off-by: Ethan Nelson-Moore <enelsonmoore@gmail.com>
---
 include/linux/platform_data/cros_ec_commands.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/include/linux/platform_data/cros_ec_commands.h b/include/linux/platform_data/cros_ec_commands.h
index 749d985e9da2..3c0b9dff80b3 100644
--- a/include/linux/platform_data/cros_ec_commands.h
+++ b/include/linux/platform_data/cros_ec_commands.h
@@ -4368,8 +4368,7 @@ struct ec_params_host_sleep_event {
 } __ec_align1;
 
 /*
- * Use a default timeout value (CONFIG_SLEEP_TIMEOUT_MS) for detecting sleep
- * transition failures
+ * Use a default timeout value for detecting sleep transition failures
  */
 #define EC_HOST_SLEEP_TIMEOUT_DEFAULT 0
 
-- 
2.43.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-06-16  1:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-16  0:14 [PATCH] platform/chrome: cros_ec: remove reference to nonexistent CONFIG_SLEEP_TIMEOUT_MS Ethan Nelson-Moore
2026-06-16  1:39 ` Tzung-Bi Shih

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.