[PATCH v3 17/32] mfd: sec: rework platform data and regmap instantiating
Krzysztof Kozlowski
krzk at kernel.org
Sun Apr 6 11:22:07 PDT 2025
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 at linaro.org>
>
> ---
> v2: fix typo in platform data for "samsung,s2mps14-pmic"
> ---
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
Best regards,
Krzysztof
More information about the linux-arm-kernel
mailing list