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)
commit3f65555c417c9c2eee235a137b5e5088a65439e4
treeacaf25f81e11a4044602f35104821d9973af1387
parent239f2bb14128ce6393d9330f595fe8c6db99dc50
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