Re: [PATCH] interconnect: qcom: icc-rpmh: Consolidate probe functions

From: Matthias Kaehlcke
Date: Mon Jun 21 2021 - 20:07:56 EST


On Mon, Jun 21, 2021 at 02:42:41PM -0700, Mike Tipton wrote:
> The current probe/remove functions are implemented separately for each
> target, but they are almost identical. Replace them with common
> functions that can be used across all rpmh targets.
>
> Signed-off-by: Mike Tipton <mdtipton@xxxxxxxxxxxxxx>

Good catch, the code is indeed very redundant.

Reviewed-by: Matthias Kaehlcke <mka@xxxxxxxxxxxx>