Re: [PATCH v1 3/3] rtc: Use named initializers for platform_device_id arrays
From: Karel Balej
Date: Thu May 28 2026 - 04:43:58 EST
Uwe Kleine-König (The Capable Hub), 2026-05-28T08:48:12+02:00:
> diff --git a/drivers/rtc/rtc-88pm886.c b/drivers/rtc/rtc-88pm886.c
> index 57e9b0a66eed..13aa3ae82239 100644
> --- a/drivers/rtc/rtc-88pm886.c
> +++ b/drivers/rtc/rtc-88pm886.c
> @@ -78,7 +78,7 @@ static int pm886_rtc_probe(struct platform_device *pdev)
> }
>
> static const struct platform_device_id pm886_rtc_id_table[] = {
> - { "88pm886-rtc", },
> + { .name = "88pm886-rtc" },
> { }
> };
> MODULE_DEVICE_TABLE(platform, pm886_rtc_id_table);
Acked-by: Karel Balej <balejk@xxxxxxxxx> # for Marvell 88PM886