mfd: cpcap: Add SPI device ID table
authorMark Brown <broonie@kernel.org>
Fri, 24 Sep 2021 14:33:46 +0000 (15:33 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Nov 2021 18:17:08 +0000 (19:17 +0100)
commitbd20d4d8433ee95841ee55fc00a0e7ce94b7f799
treec2b01866fabfba906674a939e26fa084cf593154
parent34b1f6db7ceaa45fd5913520fffab13ddd62f47a
mfd: cpcap: Add SPI device ID table

[ Upstream commit d5fa8592b773f4da2b04e7333cd37efec5e4ca43 ]

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>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20210924143347.14721-3-broonie@kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/mfd/motorola-cpcap.c