]> 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)
commitef74040a8b288ca2cc31f9b4c36b3f81cb7cc0e4
tree62c3962e58078a2018dfbd834bb19417d77a8015
parent62fd93bb8b37bb916d84aa8dbc5cdcc504cbdb26
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: 009adf84324f ("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