Searched hist:"8 a101146bcf014060530d71eba8edc52eca257f7" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/spi/ |
H A D | spi.c | diff 8a101146bcf014060530d71eba8edc52eca257f7 Tue Apr 16 12:09:02 CEST 2024 Charles Keepax <ckeepax@opensource.cirrus.com> spi: Switch to using is_acpi_device_node() in spi_dev_set_name()
Use is_acpi_device_node() rather than checking ACPI_COMPANION(), such that when checking for other types of firmware node, the code can consistently do checks against the fwnode.
Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com> Link: https://lore.kernel.org/r/20240416100904.3738093-3-ckeepax@opensource.cirrus.com Signed-off-by: Mark Brown <broonie@kernel.org>
|