Messages in this thread | | | Subject | Re: [PATCH v4 04/10] drivers: qcom: rpmh-rsc: Remove get_tcs_of_type() abstraction | From | Stephen Boyd <> | Date | Mon, 13 Apr 2020 14:37:01 -0700 |
| |
Quoting Douglas Anderson (2020-04-13 10:04:09) > 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> > Tested-by: Maulik Shah <mkshah@codeaurora.org> > ---
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
| |