Re: [PATCH v3] PM / OPP: discard duplicate OPPs

From: Viresh Kumar
Date: Tue May 20 2014 - 09:29:51 EST


On 20 May 2014 18:15, Rafael J. Wysocki <rjw@xxxxxxxxxxxxx> wrote:
> int ret = new_opp->u_volt == opp->u_volt ? -EEXIST : 0;
>
> would be slightly simpler IMO.

Much better :)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/