]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: arizona: Split of_match table into I2C and SPI versions
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Tue, 28 Sep 2021 16:30:35 +0000 (17:30 +0100)
committerLee Jones <lee.jones@linaro.org>
Fri, 5 Nov 2021 14:40:26 +0000 (14:40 +0000)
commite0e59cb3fe47584588e1fdedfe0162ccba9829d5
treeacaf25f81e11a4044602f35104821d9973af1387
parentdf87a2a3bb3617592a371b0676b0c681f6c4ca8f
mfd: arizona: Split of_match table into I2C and SPI versions

The Arizona driver has both some devices which only have an I2C
interface and some which only have a SPI interface. Currently both of
these share an of_match table, but this means inapproriate compatibles
are available for each interface. Tidy this up by creating a table for
each interface listing only the appropriate compatibles.

Reported-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20210928163035.23960-1-ckeepax@opensource.cirrus.com
drivers/mfd/arizona-core.c
drivers/mfd/arizona-i2c.c
drivers/mfd/arizona-spi.c
drivers/mfd/arizona.h