Re: [PATCH v2] mfd: arizona: Split of_match table into I2C and SPI versions

From: Lee Jones
Date: Tue Oct 12 2021 - 04:20:19 EST


On Tue, 28 Sep 2021, Charles Keepax wrote:

> 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@xxxxxxxxxx>
> Signed-off-by: Charles Keepax <ckeepax@xxxxxxxxxxxxxxxxxxxxx>
> ---
>
> Changes since v1:
> - Drop inappropriate fixes tag
>
> Thanks,
> Charles
>
> drivers/mfd/arizona-core.c | 13 -------------
> drivers/mfd/arizona-i2c.c | 14 +++++++++++++-
> drivers/mfd/arizona-spi.c | 13 ++++++++++++-
> drivers/mfd/arizona.h | 2 --
> 4 files changed, 25 insertions(+), 17 deletions(-)

Applied, thanks.

--
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog