[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241017100528.300143-1-Dhananjay.Ugwekar@amd.com>
Date: Thu, 17 Oct 2024 10:05:25 +0000
From: Dhananjay Ugwekar <Dhananjay.Ugwekar@....com>
To: <gautham.shenoy@....com>, <mario.limonciello@....com>,
<perry.yuan@....com>, <rafael@...nel.org>, <viresh.kumar@...aro.org>
CC: <linux-pm@...r.kernel.org>, <linux-kernel@...r.kernel.org>, "Dhananjay
Ugwekar" <Dhananjay.Ugwekar@....com>
Subject: [PATCH 0/4] cpufreq/amd-pstate: Refactor amd_pstate_init()
Replace code chunks with function calls, improve readability and
reduce redundancy.
Base: superm1/linux-next + https://lore.kernel.org/linux-pm/20241017053927.25285-1-Dhananjay.Ugwekar@amd.com/
Dhananjay Ugwekar (4):
cpufreq/amd-pstate: Call amd_pstate_register() in amd_pstate_init()
cpufreq/amd-pstate: Call amd_pstate_set_driver() in
amd_pstate_register_driver()
cpufreq/amd-pstate: Remove the switch case in amd_pstate_init()
cpufreq/amd-pstate: Remove the redundant amd_pstate_set_driver() call
drivers/cpufreq/amd-pstate.c | 79 +++++++++++++-----------------------
1 file changed, 29 insertions(+), 50 deletions(-)
--
2.34.1
Powered by blists - more mailing lists