eeprom: at25: Add SPI ID table
authorMark Brown <broonie@kernel.org>
Thu, 23 Sep 2021 17:24:53 +0000 (18:24 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Oct 2021 14:10:12 +0000 (16:10 +0200)
commit9e2cd444909b3c93f5cc83463d12291e3e0f990b
tree4de714f2f5a06e342cce6b62023caa06e2d7cd88
parent97d8ebead87b7457ba5c4f4e7860b8fc8cf013fd
eeprom: at25: Add SPI 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 an id_table listing the
SPI IDs for everything.

Fixes: 96c8395e2166 ("spi: Revert modalias changes")
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20210923172453.4921-1-broonie@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/eeprom/at25.c