summaryrefslogtreecommitdiff
path: root/include/acpi
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2019-02-14 16:16:21 +0530
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-02-14 12:06:38 +0100
commita9a22b570bd512eb1ed946042bb88f11ecccca0c (patch)
treee52d5bc7dcec255b7b29e5f25a938516c9ca55cc /include/acpi
parent076b862c7e4409d2dcacfda19f7eaf8d07ab9200 (diff)
cpufreq: Replace double NOT (!!) with single NOT (!)
Double NOT (!!) operation is normally done to convert a non-zero value to 1 and keep zero as is, but that isn't the requirement in this case. All we wanted was to make sure that only one of the two routines isn't set, i.e. either both function pointers are set or both are unset. This can be done with a single NOT (!) operation as well. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/acpi')
0 files changed, 0 insertions, 0 deletions