Skip to content

clk: Use named initializers for platform_device_id arrays

Uwe Kleine-König (The Capable Hub) lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2clocksource: sh_mtu2: Drop unused assignment of platform_device_iddrivers/clocksource/sh_mtu2.c+2 -20 replies
2/2clocksource: Use named initializers for platform_device_id arraysdrivers/clocksource/sh_cmt.c drivers/clocksource/sh_tmu.c+4 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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/[email protected]/
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

Signature · 1 line
2.47.3