Re: [PATCH 02/12] PM / OPP: Add 'struct kref' to OPP table

From: Stephen Boyd
Date: Fri Jan 13 2017 - 03:54:38 EST


On 01/10, Viresh Kumar wrote:
> On 09-01-17, 15:36, Stephen Boyd wrote:
>
> > It would be better to have _find_opp_table()
> > return the pointer with the reference already taken so that we
> > don't have to update callers with reference grabbing calls.
> > Typically if a function returns a reference counted pointer the
> > reference counting has already been done.
>
> Absolutely, but that happens with later patches in the series. I couldn't have
> done it now, as something or the other would have broken.
>

Ok, if things get better later in the series then you can have my

Reviewed-by: Stephen Boyd <sboyd@xxxxxxxxxxxxxx>

--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project