cpufreq: Move to_gov_attr_set() to cpufreq.h
authorKevin Hao <haokexin@gmail.com>
Sun, 23 Jan 2022 12:45:06 +0000 (20:45 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Feb 2023 07:27:29 +0000 (08:27 +0100)
commit7c513ced0decc48b1c2c69aca6480bcc2afe11c8
treed78e6f52a5fc7777ef03feaeb771bccf1cda416e
parentcf7a08622d2bf443f98f92abcb96f2c08d91f830
cpufreq: Move to_gov_attr_set() to cpufreq.h

commit ae26508651272695a3ab353f75ab9a8daf3da324 upstream.

So it can be reused by other codes.

Signed-off-by: Kevin Hao <haokexin@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/cpufreq/cpufreq_governor_attr_set.c
include/linux/cpufreq.h