Re: [PATCH v2 2/8] regulator: max77658: Add ADI MAX77643/54/58/59 Regulator Support

From: Krzysztof Kozlowski
Date: Wed Mar 22 2023 - 04:25:35 EST


On 22/03/2023 06:56, Zeynep Arslanbenzer wrote:
> Regulator driver for ADI MAX77643/MAX77654/MAX77658/MAX77659.
>
> MAX77643/MAX77659 has 1 LDO regulator.
> MAX77654/MAX77658 has two LDO regulators.
>
> Signed-off-by: Nurettin Bolucu <Nurettin.Bolucu@xxxxxxxxxx>
> Signed-off-by: Zeynep Arslanbenzer <Zeynep.Arslanbenzer@xxxxxxxxxx>



> +
> + return 0;
> +}
> +
> +static const struct platform_device_id max77658_regulator_id[] = {
> + { "max77643-regulator" },
> + { "max77654-regulator" },
> + { "max77658-regulator" },
> + { "max77659-regulator" },

Why do you need so many entries? They do not differ.

Best regards,
Krzysztof