[PATCH v2 0/2] Match data improvements for tlv320aic32x4 driver

From: Biju Das
Date: Mon Aug 28 2023 - 15:11:11 EST


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

This patch series is only compile tested.

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 (2):
ASoC: codec: tlv320aic32x4: Add enum aic32x4_type to aic32x4_probe()
ASoC: tlv320aic32x4-i2c: Simplify probe()

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

--
2.25.1