Re: [PATCH v3 17/32] mfd: sec: rework platform data and regmap instantiating
From: Krzysztof Kozlowski
Date: Sun Apr 06 2025 - 14:22:41 EST
On 03/04/2025 10:59, André Draszik wrote:
> Instead of a large open-coded switch statement, just add both regmap
> config and device type to the OF match data. This allows us to have all
> related information in one place, and avoids a long switch() statement.
>
> Signed-off-by: André Draszik <andre.draszik@xxxxxxxxxx>
>
> ---
> v2: fix typo in platform data for "samsung,s2mps14-pmic"
> ---
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
Best regards,
Krzysztof