Messages in this thread | | | Date | Fri, 17 Mar 2023 13:35:17 +0100 | From | Heiner Kallweit <> | Subject | [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(-)
-- 2.39.2
| |