-
Douglas Anderson authored
The get_tcs_of_type() function doesn't provide any value. It's not conceptually difficult to access a value in an array, even if that value is in a structure and we want a pointer to the value. Having the function in there makes me feel like it's doing something fancier like looping or searching. Remove it. Signed-off-by:
Douglas Anderson <dianders@chromium.org> Reviewed-by:
Maulik Shah <mkshah@codeaurora.org> Reviewed-by:
Stephen Boyd <swboyd@chromium.org> Tested-by:
Maulik Shah <mkshah@codeaurora.org> Link: https://lore.kernel.org/r/20200413100321.v4.4.Ia348ade7c6ed1d0d952ff2245bc854e5834c8d9a@changeid Signed-off-by:
Bjorn Andersson <bjorn.andersson@linaro.org>
53d49fe1