]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
of: provide of_machine_read_model()
authorBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Mon, 23 Feb 2026 13:37:17 +0000 (14:37 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Mar 2026 15:18:49 +0000 (16:18 +0100)
commitc86d3b7b847cc9b32a17117cfd71679e4315fd9f
treee828512b154bfcdfeeb4c670fbb97c43d85c5c02
parent59621105ffca7a33955f56bc7dee0923992f5832
of: provide of_machine_read_model()

Provide a helper function allowing users to read the model string of the
machine, hiding the access to the root node.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20260223-soc-of-root-v2-2-b45da45903c8@oss.qualcomm.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/of/base.c
include/linux/of.h