]> git.hungrycats.org Git - linux/commitdiff
cpufreq: amd-pstate: Make amd-pstate EPP driver name hyphenated
authorWyes Karny <wyes.karny@amd.com>
Mon, 12 Jun 2023 11:36:10 +0000 (11:36 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 1 Jul 2023 11:14:44 +0000 (13:14 +0200)
commit f4aad639302a07454dcb23b408dcadf8a9efb031 upstream.

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")
Cc: All applicable <stable@vger.kernel.org>
Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com>
Signed-off-by: Wyes Karny <wyes.karny@amd.com>
Acked-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Perry Yuan <Perry.Yuan@amd.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/cpufreq/amd-pstate.c

index a7eb25066c27485d089572b176ffb97a5e293604..48543d29050a27abffaa2614c264c44a2ad0974a 100644 (file)
@@ -1272,7 +1272,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,
 };