mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v1 1/2] PM: devfreq: fix typo in DFSO_DOWNDIFFERENTIAL macro name
@ 2025-11-18  3:23 Riwen Lu
  2025-11-18  3:23 ` [PATCH v1 2/2] PM: devfreq: handle invalid parameters gracefully in simpleondemand Riwen Lu
  2025-11-23 15:20 ` [PATCH v1 1/2] PM: devfreq: fix typo in DFSO_DOWNDIFFERENTIAL macro name Chanwoo Choi
  0 siblings, 2 replies; 5+ messages in thread
From: Riwen Lu @ 2025-11-18  3:23 UTC (permalink / raw)
  To: myungjoo.ham, kyungmin.park, cw00.choi; +Cc: linux-pm, linux-kernel, Riwen Lu

Correct the spelling error in the DFSO_DOWNDIFFERENTIAL macro
definition and update the corresponding variable assignment.

The macro was previously misspelled as DFSO_DOWNDIFFERENCTIAL.
This change ensures consistent and correct spelling throughout
the simpleondemand governor implementation.

Signed-off-by: Riwen Lu <luriwen@kylinos.cn>
---
 drivers/devfreq/governor_simpleondemand.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/devfreq/governor_simpleondemand.c b/drivers/devfreq/governor_simpleondemand.c
index c23435736367..b4d7be766f33 100644
--- a/drivers/devfreq/governor_simpleondemand.c
+++ b/drivers/devfreq/governor_simpleondemand.c
@@ -14,7 +14,7 @@
 
 /* Default constants for DevFreq-Simple-Ondemand (DFSO) */
 #define DFSO_UPTHRESHOLD	(90)
-#define DFSO_DOWNDIFFERENCTIAL	(5)
+#define DFSO_DOWNDIFFERENTIAL	(5)
 static int devfreq_simple_ondemand_func(struct devfreq *df,
 					unsigned long *freq)
 {
@@ -22,7 +22,7 @@ static int devfreq_simple_ondemand_func(struct devfreq *df,
 	struct devfreq_dev_status *stat;
 	unsigned long long a, b;
 	unsigned int dfso_upthreshold = DFSO_UPTHRESHOLD;
-	unsigned int dfso_downdifferential = DFSO_DOWNDIFFERENCTIAL;
+	unsigned int dfso_downdifferential = DFSO_DOWNDIFFERENTIAL;
 	struct devfreq_simple_ondemand_data *data = df->data;
 
 	err = devfreq_update_stats(df);
-- 
2.25.1


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

end of thread, other threads:[~2025-11-26  9:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-18  3:23 [PATCH v1 1/2] PM: devfreq: fix typo in DFSO_DOWNDIFFERENTIAL macro name Riwen Lu
2025-11-18  3:23 ` [PATCH v1 2/2] PM: devfreq: handle invalid parameters gracefully in simpleondemand Riwen Lu
2025-11-23 15:24   ` Chanwoo Choi
2025-11-26  9:24     ` luriwen
2025-11-23 15:20 ` [PATCH v1 1/2] PM: devfreq: fix typo in DFSO_DOWNDIFFERENTIAL macro name Chanwoo Choi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®