summaryrefslogtreecommitdiff
path: root/drivers/ide/arm/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorK Prateek Nayak <kprateek.nayak@amd.com>2026-03-16 08:18:48 +0000
committerMario Limonciello (AMD) <superm1@kernel.org>2026-04-02 11:30:24 -0500
commit86d71f1d7686cecebbafb371ad58c6ad7f80a93a (patch)
tree19b9b00a64ee71755a011be2667cdea091ad5a38 /drivers/ide/arm/git@git.tavy.me:linux.git
parent7e173bc310d2b1df018edc66334a5304305889a2 (diff)
cpufreq/amd-pstate: Pass the policy to amd_pstate_update()
All callers of amd_pstate_update() already have a reference to the cpufreq_policy object. Pass the entire policy object and grab the cpudata using "policy->driver_data" instead of passing the cpudata and unnecessarily grabbing another read-side reference to the cpufreq policy object when it is already available in the caller. No functional changes intended. Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: K Prateek Nayak <kprateek.nayak@amd.com> Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com> Link: https://lore.kernel.org/r/20260316081849.19368-2-kprateek.nayak@amd.com Signed-off-by: Mario Limonciello (AMD) <superm1@kernel.org>
Diffstat (limited to 'drivers/ide/arm/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions