]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cpufreq: make cpufreq_boost_enabled() return bool
authorDhruva Gole <d-gole@ti.com>
Thu, 27 Jun 2024 06:01:17 +0000 (11:31 +0530)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 28 Jun 2024 18:58:04 +0000 (20:58 +0200)
commit43c0226c9ba56ffebdef9a858dbcf6eb0d376291
tree5976f0d761a995f9a7e003d68456176bd40dfe01
parentd845cd901b28f1b6c02a208b864fc3fc46d14536
cpufreq: make cpufreq_boost_enabled() return bool

Since this function is supposed to return boost_enabled which is anyway
a bool type make sure that it's return value is also marked as bool.
This helps maintain better consistency in data types being used.

Signed-off-by: Dhruva Gole <d-gole@ti.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://patch.msgid.link/20240627060117.1809477-1-d-gole@ti.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq.c
include/linux/cpufreq.h