Re: [PATCH] cpufreq: Use str_enable_disable-like helpers
From: Krzysztof Kozlowski
Date: Tue Jan 14 2025 - 13:24:04 EST
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