mfd: sprd: Add SPI device ID table
authorMark Brown <broonie@kernel.org>
Fri, 24 Sep 2021 14:33:47 +0000 (15:33 +0100)
committerLee Jones <lee.jones@linaro.org>
Fri, 5 Nov 2021 14:40:25 +0000 (14:40 +0000)
commitc5c7f0677107052060037583b9c8c15d818afb04
treecbf148b8b9c297d41f50f39cf89558bcbac81478
parentd5fa8592b773f4da2b04e7333cd37efec5e4ca43
mfd: sprd: Add SPI device ID table

Currently autoloading for SPI devices does not use the DT ID table, it uses
SPI modalises. Supporting OF modalises is going to be difficult if not
impractical, an attempt was made but has been reverted, so ensure that
module autoloading works for this driver by adding a SPI device ID table.

Fixes: 96c8395e2166 ("spi: Revert modalias changes")
Signed-off-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Baolin Wang <baolin.wang7@gmail.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20210924143347.14721-4-broonie@kernel.org
drivers/mfd/sprd-sc27xx-spi.c