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

Heiner Kallweit posted 2 patches 2 years, 11 months ago
drivers/base/soc.c                     | 15 +++++++++++++++
drivers/soc/amlogic/meson-gx-socinfo.c |  5 -----
2 files changed, 15 insertions(+), 5 deletions(-)
[PATCH 0/2] base: soc: populate machine name in soc_device_register if empty
Posted by Heiner Kallweit 2 years, 11 months ago
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