On 29-07-15, 03:08, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki <[email protected]> > > The recover_policy is unsed in cpufreq_online() to indicate whether > a new policy object is created or an existing one is reinitialized. > > The "recover" part of the name is slightly confusing (it should be > "reinitialization" rather than "recovery") and the logical not (!) > operator is applied to it in almost all of the checks it is used in, > so replace that variable with a new one called "new_policy" that > will be true in the case of a new policy creation. > > While at it, drop one of the labels that is jumped to from only > one spot. > > Signed-off-by: Rafael J. Wysocki <[email protected]> > --- > > One extra cleanup on top of https://patchwork.kernel.org/patch/6888751/ > > --- > drivers/cpufreq/cpufreq.c | 23 +++++++++++------------ > 1 file changed, 11 insertions(+), 12 deletions(-)
Acked-by: Viresh Kumar <[email protected]> -- viresh -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

