Re: [PATCH v1 2/3] regulator: Use named initializers for platform_device_id arrays

From: Karel Balej

Date: Wed May 27 2026 - 14:38:14 EST


Uwe Kleine-König (The Capable Hub), 2026-05-27T12:47:45+02:00:
> diff --git a/drivers/regulator/88pm886-regulator.c b/drivers/regulator/88pm886-regulator.c
> index a38bd4f312b7..7328cd1cf265 100644
> --- a/drivers/regulator/88pm886-regulator.c
> +++ b/drivers/regulator/88pm886-regulator.c
> @@ -373,7 +373,7 @@ static int pm886_regulator_probe(struct platform_device *pdev)
> }
>
> static const struct platform_device_id pm886_regulator_id_table[] = {
> - { "88pm886-regulator", },
> + { .name = "88pm886-regulator" },
> { }
> };
> MODULE_DEVICE_TABLE(platform, pm886_regulator_id_table);

Acked-by: Karel Balej <balejk@xxxxxxxxx> # for Marvell 88PM886