Linux IIO development
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Use i2c_get_match_data() for yamaha-yas530
@ 2023-08-12  6:57 Biju Das
  2023-08-12  6:57 ` [PATCH v2 1/2] iio: magnetometer: yamaha-yas530: Use i2c_get_match_data() Biju Das
  2023-08-12  6:57 ` [PATCH v2 2/2] iio: magnetometer: yamaha-yas530: Drop enum chip_ids Biju Das
  0 siblings, 2 replies; 7+ messages in thread
From: Biju Das @ 2023-08-12  6:57 UTC (permalink / raw)
  To: Jonathan Cameron
  Cc: Biju Das, Lars-Peter Clausen, Andy Shevchenko, Linus Walleij,
	Jakob Hauser, Uwe Kleine-König, linux-iio,
	Geert Uytterhoeven, linux-renesas-soc

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(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-08-28 13:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-12  6:57 [PATCH v2 0/2] Use i2c_get_match_data() for yamaha-yas530 Biju Das
2023-08-12  6:57 ` [PATCH v2 1/2] iio: magnetometer: yamaha-yas530: Use i2c_get_match_data() Biju Das
2023-08-15  6:50   ` Andy Shevchenko
2023-08-28 13:09     ` Jonathan Cameron
2023-08-12  6:57 ` [PATCH v2 2/2] iio: magnetometer: yamaha-yas530: Drop enum chip_ids Biju Das
2023-08-15  6:49   ` Andy Shevchenko
2023-08-28 13:08     ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox