diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2025-11-26 21:25:01 +0100 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2025-11-27 11:41:06 +0000 |
| commit | 40ad64ac25bb736740f895d99a4aebbda9b80991 (patch) | |
| tree | a68597443ffbc4d3fac6a1fd2a169318b39a88d6 /arch/powerpc/sysdev/timer.c | |
| parent | 3dcf44ab56e1d3ca3532083c0d5390b758e45b45 (diff) | |
spi: nxp-fspi: Propagate fwnode in ACPI case as well
Propagate fwnode of the ACPI device to the SPI controller Linux device.
Currently only OF case propagates fwnode to the controller.
While at it, replace several calls to dev_fwnode() with a single one
cached in a local variable, and unify checks for fwnode type by using
is_*_node() APIs.
Fixes: 55ab8487e01d ("spi: spi-nxp-fspi: Add ACPI support")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Haibo Chen <haibo.chen@nxp.com>
Link: https://patch.msgid.link/20251126202501.2319679-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'arch/powerpc/sysdev/timer.c')
0 files changed, 0 insertions, 0 deletions
