[PATCH 0/2] base: soc: populate machine name in soc_device_register if empty
Heiner Kallweit
hkallweit1 at gmail.com
Fri Mar 17 05:35:17 PDT 2023
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(-)
--
2.39.2
More information about the linux-arm-kernel
mailing list