[PATCH] cpufreq: Use str_enable_disable-like helpers
Krzysztof Kozlowski
krzysztof.kozlowski at linaro.org
Wed Jan 15 05:23:49 AEDT 2025
On 14/01/2025 11:56, Krzysztof Kozlowski wrote:
> if (cpufreq_boost_trigger_state(enable)) {
> pr_err("%s: Cannot %s BOOST!\n",
> - __func__, enable ? "enable" : "disable");
> + __func__, str_enable_disable(enable));
> return -EINVAL;
> }
>
> pr_debug("%s: cpufreq BOOST %s\n",
> - __func__, enable ? "enabled" : "disabled");
> + __func__, str_enable_disable(enable));
This needs fix - enabled, not enable. V2.
Best regards,
Krzysztof
More information about the Linuxppc-dev
mailing list