Message ID | 20230616174723.148532-1-wyes.karny@amd.com (mailing list archive) |
---|---|
State | Superseded, archived |
Headers | show |
Series | amd-pstate: Make amd-pstate epp driver name hyphenated | expand |
On Fri, Jun 16, 2023 at 7:47 PM Wyes Karny <wyes.karny@amd.com> wrote: > > 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". > > Cc: stable@vger.kernel.org > Fixes: ffa5096a7c33 ("cpufreq: amd-pstate: implement Pstate EPP support for the AMD processors") > Acked-by: Huang Rui <ray.huang@amd.com> > Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com> > Signed-off-by: Wyes Karny <wyes.karny@amd.com> > --- > drivers/cpufreq/amd-pstate.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/cpufreq/amd-pstate.c b/drivers/cpufreq/amd-pstate.c > index ddd346a239e0..a5764946434c 100644 > --- a/drivers/cpufreq/amd-pstate.c > +++ b/drivers/cpufreq/amd-pstate.c > @@ -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.
On 16 Jun 19:54, Rafael J. Wysocki wrote: > On Fri, Jun 16, 2023 at 7:47 PM Wyes Karny <wyes.karny@amd.com> wrote: > > > > 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". > > > > Cc: stable@vger.kernel.org > > Fixes: ffa5096a7c33 ("cpufreq: amd-pstate: implement Pstate EPP support for the AMD processors") > > Acked-by: Huang Rui <ray.huang@amd.com> > > Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com> > > Signed-off-by: Wyes Karny <wyes.karny@amd.com> > > --- > > drivers/cpufreq/amd-pstate.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/drivers/cpufreq/amd-pstate.c b/drivers/cpufreq/amd-pstate.c > > index ddd346a239e0..a5764946434c 100644 > > --- a/drivers/cpufreq/amd-pstate.c > > +++ b/drivers/cpufreq/amd-pstate.c > > @@ -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. Oh, thanks for accepting the previous patch! Regards, Wyes
diff --git a/drivers/cpufreq/amd-pstate.c b/drivers/cpufreq/amd-pstate.c index ddd346a239e0..a5764946434c 100644 --- a/drivers/cpufreq/amd-pstate.c +++ b/drivers/cpufreq/amd-pstate.c @@ -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, };