summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-imx.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2022-10-20 21:54:21 +0200
committerMark Brown <broonie@kernel.org>2022-10-21 14:05:45 +0200
commitaea672d054a21782ed8450c75febb6ba3c208ca4 (patch)
tree652bad507f7519745849996a530c9a20bdcea075 /drivers/spi/spi-imx.c
parentspi: spi-zyqnmp-gqspi: Add tap delay and Versal platform support (diff)
downloadlinux-aea672d054a21782ed8450c75febb6ba3c208ca4.tar.xz
linux-aea672d054a21782ed8450c75febb6ba3c208ca4.zip
spi: Introduce spi_get_device_match_data() helper
The proposed spi_get_device_match_data() helper is for retrieving a driver data associated with the ID in an ID table. First, it tries to get driver data of the device enumerated by firmware interface (usually Device Tree or ACPI). If none is found it falls back to the SPI ID table matching. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20221020195421.10482-1-andriy.shevchenko@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions