[PATCH v3 0/3] Match data improvements for tlv320aic32x4 driver

From: Biju Das
Date: Thu Aug 31 2023 - 15:46:32 EST


This patch series aims to add match data improvements for tlv320aic32x4
driver.

This patch series is only compile tested.

v2->v3:
* Added Rb tag from Andy for patch#1 and patch#2
* Simplified aic32x4_spi_probe() in patch#3.
v1->v2:
* Created patch#1 for adding enum aic32x4_type to aic32x4_probe() and
drop using dev_set_drvdata() from tlv320aic32x4_{i2c,spi} drivers.
* Return value of i2c_get_match_data() passed to type paramemter in
aic32x4_probe().

Biju Das (3):
ASoC: codec: tlv320aic32x4: Add enum aic32x4_type to aic32x4_probe()
ASoC: tlv320aic32x4-i2c: Simplify probe()
ASoC: tlv320aic32x4-spi: Simplify probe()

sound/soc/codecs/tlv320aic32x4-i2c.c | 19 +++----------------
sound/soc/codecs/tlv320aic32x4-spi.c | 18 +++---------------
sound/soc/codecs/tlv320aic32x4.c | 5 +++--
sound/soc/codecs/tlv320aic32x4.h | 3 ++-
4 files changed, 11 insertions(+), 34 deletions(-)

--
2.25.1