Re: [PATCH 4/6] cpufreq: Use has_target() instead of !setpolicy
From: Rafael J. Wysocki
Date: Wed Jun 19 2019 - 08:33:28 EST
On Wed, Jun 19, 2019 at 1:36 PM Viresh Kumar <viresh.kumar@xxxxxxxxxx> wrote:
>
> For code consistency, use has_target() instead of !setpolicy everywhere,
> as it is already done at several places.
That's OK
> Maybe we should also use !has_target() for setpolicy case to use only one expression
> for this differentiation.
But I'm not sure what you mean here?