soc: qcom: rpmh-rsc: Remove tcs_is_free() API
authorStephen Boyd <swboyd@chromium.org>
Thu, 21 May 2020 06:04:23 +0000 (23:04 -0700)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Fri, 12 Mar 2021 02:22:20 +0000 (20:22 -0600)
commit814a0d46301ab6d41ad4ed198451c56ed9c8c05a
tree39f225e0f04ca10645291d560d7d9855dc442ffa
parent62fef634ef20cb447434568b17f41d1b35ab3821
soc: qcom: rpmh-rsc: Remove tcs_is_free() API

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.

Reviewed-by: Maulik Shah <mkshah@codeaurora.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Cc: Maulik Shah <mkshah@codeaurora.org>
Cc: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Link: https://lore.kernel.org/r/20200521060425.24285-2-swboyd@chromium.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/soc/qcom/rpmh-rsc.c