summaryrefslogtreecommitdiff
path: root/drivers/mfd/arizona.h
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.cirrus.com>2021-09-28 17:30:35 +0100
committerLee Jones <lee.jones@linaro.org>2021-11-05 14:40:26 +0000
commit3f65555c417c9c2eee235a137b5e5088a65439e4 (patch)
treeacaf25f81e11a4044602f35104821d9973af1387 /drivers/mfd/arizona.h
parent239f2bb14128ce6393d9330f595fe8c6db99dc50 (diff)
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
Diffstat (limited to 'drivers/mfd/arizona.h')
-rw-r--r--drivers/mfd/arizona.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mfd/arizona.h b/drivers/mfd/arizona.h
index 801cbbcd71cb..66d6092d0851 100644
--- a/drivers/mfd/arizona.h
+++ b/drivers/mfd/arizona.h
@@ -28,8 +28,6 @@ extern const struct regmap_config wm8998_i2c_regmap;
extern const struct dev_pm_ops arizona_pm_ops;
-extern const struct of_device_id arizona_of_match[];
-
extern const struct regmap_irq_chip wm5102_aod;
extern const struct regmap_irq_chip wm5102_irq;