Re: [PATCHv3/RESEND 1/3] soc: qcom: rpmh-rsc: Remove tcs_is_free() API

From: Doug Anderson
Date: Thu May 28 2020 - 14:04:19 EST


Hi,

On Wed, May 20, 2020 at 11:04 PM Stephen Boyd <swboyd@xxxxxxxxxxxx> wrote:
>
> This API does very little. Let's replace all the callsites with the
> normal operations that would be done on top of the bitmap that
> tcs_in_use is. This simplifies and reduces the code size.
>
> Cc: Maulik Shah <mkshah@xxxxxxxxxxxxxx>
> Cc: Douglas Anderson <dianders@xxxxxxxxxxxx>
> Signed-off-by: Stephen Boyd <swboyd@xxxxxxxxxxxx>
> ---
> drivers/soc/qcom/rpmh-rsc.c | 59 +++++++++++++------------------------
> 1 file changed, 20 insertions(+), 39 deletions(-)

Sorry for the delay in getting to this review. Looks great.

Reviewed-by: Douglas Anderson <dianders@xxxxxxxxxxxx>