On Thu, Apr 11, 2024 at 12:06 PM Charles Keepax <ckeepax@xxxxxxxxxxxxxxxxxxxxx> wrote: > > Update the name for software node based SPI devices to use the fwnode > name as the device name. This is helpful since swnode devices are > usually added within the kernel, and the kernel often then requires a > predictable name such that it can refer back to the device. ... > + if (is_software_node(fwnode)) { > + dev_set_name(dev, "spi-%s", fwnode_get_name(fwnode)); Wouldn't %pfwP / %pfw work? Thinking more about this, maybe even the ACPI case also can be combined? See for the details 87526603c892 ("irqdomain: Get rid of special treatment for ACPI in __irq_domain_add()") 9ed78b05f998 ("irqdomain: Allow software nodes for IRQ domain creation") > + return; > + } -- With Best Regards, Andy Shevchenko