Skip to content

base: soc: populate machine name in soc_device_register if empty

Heiner Kallweit linux-amlogic linux-arm-kernel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2base: soc: populate machine name in soc_device_register if emptydrivers/base/soc.c+15 -01 reply
2/2soc: amlogic: meson-gx-socinfo: use new soc_device_register functionality to populate machine namedrivers/soc/amlogic/meson-gx-socinfo.c+0 -51 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchMartin Blumenstingl
1/2A-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] base: soc: populate machine name in soc_device_register if empty

Several SoC drivers use the same of-based mechanism to populate the machine name. Therefore move this to the core and try to populate the machine name in soc_device_register if it's not set yet.
Make meson-gx-socinfo the first user of this new functionality.

Heiner Kallweit (2):
base: soc: populate machine name in soc_device_register if empty
soc: amlogic: meson-gx-socinfo: use new soc_device_register
functionality to populate machine name

 drivers/base/soc.c                     | 15 +++++++++++++++
 drivers/soc/amlogic/meson-gx-socinfo.c |  5 -----
 2 files changed, 15 insertions(+), 5 deletions(-)
Signature · 7 lines
2.39.2


_______________________________________________
linux-amlogic mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-amlogic