mbox series

[v2,0/2] Use i2c_get_match_data() for yamaha-yas530

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

Message

Biju Das Aug. 12, 2023, 6:57 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.

v1->v2:
 * Created separate patch for dropping enum chip_ids 

Biju Das (2):
  iio: magnetometer: yamaha-yas530: Use i2c_get_match_data()
  iio: magnetometer: yamaha-yas530: Drop enum chip_ids

 drivers/iio/magnetometer/yamaha-yas530.c | 150 +++++++++++------------
 1 file changed, 71 insertions(+), 79 deletions(-)