]> git.baikalelectronics.ru Git - kernel.git/commit
Input: ariel-pwrbutton - add SPI device ID table
authorMark Brown <broonie@kernel.org>
Sat, 2 Oct 2021 04:20:49 +0000 (21:20 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 2 Oct 2021 04:24:14 +0000 (21:24 -0700)
commit6582c648377bcc51f2d86b5f84f26304d07e2a4d
tree62c3962e58078a2018dfbd834bb19417d77a8015
parent167ee9bd23103e51d397e43509aac81a8081dfec
Input: ariel-pwrbutton - 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: 0ce7936ceffc ("spi: Revert modalias changes")
Signed-off-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20210927134104.38648-1-broonie@kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/ariel-pwrbutton.c