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