mbox series

[0/2] Use i2c_get_match_data() for mcp4725 DAC

Message ID 20230812115449.89942-1-biju.das.jz@bp.renesas.com (mailing list archive)
Headers show
Series Use i2c_get_match_data() for mcp4725 DAC | expand

Message

Biju Das Aug. 12, 2023, 11:54 a.m. UTC
Use i2c_get_match_data() to get match data for I2C, ACPI and DT-based
matching instead of device_get_match_data() the one for ACPI/DT-based
matching.

This patch series is only compile tested.

Biju Das (2):
  iio: dac: mcp4725: Replace variable 'id' from struct mcp4725_data
  iio: dac: mcp4725: Use i2c_get_match_data()

 drivers/iio/dac/mcp4725.c | 26 ++++++++++++--------------
 1 file changed, 12 insertions(+), 14 deletions(-)