Skip to contentSkip to conversation

amd-pstate: Make amd-pstate epp driver name hyphenated

PATCH In review Wyes Karny 2 participants 3 messages Jun 16, 2023

Subsystems (3)
lore
Share & tools
lore

Wyes Karny

author
#0 lore raw

PATCH 1/1 amd-pstate: Make amd-pstate epp driver name hyphenated

amd-pstate passive mode driver is hyphenated. So make amd-pstate active mode driver consistent with that rename "amd_pstate_epp" to "amd-pstate-epp".

Fixes ffa5096a7c33 ("cpufreq: amd-pstate: implement Pstate EPP support for the AMD processors")
---
 drivers/cpufreq/amd-pstate.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/cpufreq/amd-pstate.c +1 -1
index ddd346a239e0..a5764946434c 100644
@@ -1356,7 +1356,7 @@ static struct cpufreq_driver amd_pstate_epp_driver = {
 	.online		= amd_pstate_epp_cpu_online,
 	.suspend	= amd_pstate_epp_suspend,
 	.resume		= amd_pstate_epp_resume,
-	.name		= "amd_pstate_epp",
+	.name		= "amd-pstate-epp",
 	.attr		= amd_pstate_epp_attr,
 };
 
Signature · 1 line
2.34.1
#1 lore raw
Quoted 19 lines · Wyes Karny

amd-pstate passive mode driver is hyphenated. So make amd-pstate active mode driver consistent with that rename "amd_pstate_epp" to "amd-pstate-epp".

Fixes ffa5096a7c33 ("cpufreq: amd-pstate: implement Pstate EPP support for the AMD processors")
---
 drivers/cpufreq/amd-pstate.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/cpufreq/amd-pstate.c +0 -0
index ddd346a239e0..a5764946434c 100644

drivers/cpufreq/amd-pstate.c static struct cpufreq_driver amd_pstate_epp_driver = {

Quoted 9 lines
drivers/cpufreq/amd-pstate.c +1 -2
@@ -1356,7 +1356,7 @@ static struct cpufreq_driver amd_pstate_epp_driver = {
        .online         = amd_pstate_epp_cpu_online,
        .suspend        = amd_pstate_epp_suspend,
        .resume         = amd_pstate_epp_resume,
-       .name           = "amd_pstate_epp",
+       .name           = "amd-pstate-epp",
        .attr           = amd_pstate_epp_attr,
 };
 
--

I've already applied the one you sent previously.

author
#2 lore raw
Quoted 28 lines · Rafael J. Wysocki
Quoted 27 lines · Wyes Karny

amd-pstate passive mode driver is hyphenated. So make amd-pstate active mode driver consistent with that rename "amd_pstate_epp" to "amd-pstate-epp".

Fixes ffa5096a7c33 ("cpufreq: amd-pstate: implement Pstate EPP support for the AMD processors")
---
 drivers/cpufreq/amd-pstate.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/cpufreq/amd-pstate.c +1 -1
index ddd346a239e0..a5764946434c 100644
@@ -1356,7 +1356,7 @@ static struct cpufreq_driver amd_pstate_epp_driver = {
        .online         = amd_pstate_epp_cpu_online,
        .suspend        = amd_pstate_epp_suspend,
        .resume         = amd_pstate_epp_resume,
-       .name           = "amd_pstate_epp",
+       .name           = "amd-pstate-epp",
        .attr           = amd_pstate_epp_attr,
 };
 
Quoted 3 lines
Quoted 1 line

--

I've already applied the one you sent previously.

Oh, thanks for accepting the previous patch!

Regards,
Wyes