]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
platform/x86: pcengines-apuv2: reduce indiraction in swnode assignment
authorBartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Wed, 29 Apr 2026 09:46:01 +0000 (11:46 +0200)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Fri, 8 May 2026 15:49:42 +0000 (18:49 +0300)
commitfa84425e53c43c8a17ac2af2c8f99202f4e1ee7e
treebb71509d3e4f9b1860c95097057ecd4bc6d02a86
parent49133d4ae0c9ceb63fa042c0b46b34e26e1c6676
platform/x86: pcengines-apuv2: reduce indiraction in swnode assignment

struct platform_device_info now has the 'swnode' field allowing passing
software nodes directly to platform_device_register_full() without going
through software_node_fwnode(). It supports both registered and
unregistered software nodes. Use it to drop one layer of indirection.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Reviewed-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Link: https://patch.msgid.link/20260429-pcengines-apuv2-swnodes-v1-1-cd1a6fad856d@oss.qualcomm.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/pcengines-apuv2.c