diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2019-06-20 06:05:48 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-06-26 12:41:04 +0300 |
commit | 5ddc6d4e30f4e8701af661601ca07abdfc237996 (patch) | |
tree | 01e9bb5ab0c4177477d0cd3af4c77c9d8f03af61 /scripts/Makefile.asm-generic | |
parent | 407d0fff22667598fe3602965f0e0bf78dabdca5 (diff) | |
download | linux-5ddc6d4e30f4e8701af661601ca07abdfc237996.tar.xz |
cpufreq: Use has_target() instead of !setpolicy
For code consistency, use has_target() instead of !setpolicy everywhere,
as it is already done at several places. Maybe we should also use
"!has_target()" instead of "cpufreq_driver->setpolicy" where we need to
check if the driver supports setpolicy, so to use only one expression
for this kind of differentiation.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'scripts/Makefile.asm-generic')
0 files changed, 0 insertions, 0 deletions