[PATCH v1 0/2] clk: Use named initializers for platform_device_id arrays

From: Uwe Kleine-König (The Capable Hub)

Date: Wed Jun 17 2026 - 05:26:56 EST


Hello,

this patch series is a preparation for changing struct
platform_device_id, which requires that .driver_data isn't assigned
using a list expression. But also without that in mind, I consider this
series a nice cleanup as named initialisation is easer to understand for
a human.

See e.g.
https://lore.kernel.org/all/cover.1780048925.git.u.kleine-koenig@xxxxxxxxxxxx/
for details about my plans for platform_device_id.

Best regards
Uwe

Uwe Kleine-König (The Capable Hub) (2):
clocksource: sh_mtu2: Drop unused assignment of platform_device_id
clocksource: Use named initializers for platform_device_id arrays

drivers/clocksource/sh_cmt.c | 4 ++--
drivers/clocksource/sh_mtu2.c | 4 ++--
drivers/clocksource/sh_tmu.c | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)


base-commit: 4fa3f5fabb30bf00d7475d5a33459ea83d639bf9
--
2.47.3