From: Mark Brown <broonie@kernel.org> Date: 2021-09-27 13:40:57
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 SPI IDs for parts that
only have a compatible listed.
Fixes: 96c8395e2166 ("spi: Revert modalias changes")
Signed-off-by: Mark Brown <broonie@kernel.org>
---
drivers/input/rmi4/rmi_spi.c | 1 +
1 file changed, 1 insertion(+)
Hi Mark,
On Mon, Sep 27, 2021 at 02:40:00PM +0100, Mark Brown wrote:
quoted hunk
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 SPI IDs for parts that
only have a compatible listed.
Fixes: 96c8395e2166 ("spi: Revert modalias changes")
Signed-off-by: Mark Brown <broonie@kernel.org>
---
drivers/input/rmi4/rmi_spi.c | 1 +
1 file changed, 1 insertion(+)
I do not think this is needed as kmod "normalizes" module names and
modalias strings by converting all dashes to underscore before executing
matching.
Thanks.
--
Dmitry