Linux IIO development
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Use i2c_get_match_data() for mcp4725 DAC
@ 2023-08-18 17:49 Biju Das
  2023-08-18 17:49 ` [PATCH v2 1/2] iio: dac: mcp4725: Replace variable 'id' from struct mcp4725_data Biju Das
  2023-08-18 17:49 ` [PATCH v2 2/2] iio: dac: mcp4725: Use i2c_get_match_data() Biju Das
  0 siblings, 2 replies; 5+ messages in thread
From: Biju Das @ 2023-08-18 17:49 UTC (permalink / raw)
  To: Jonathan Cameron
  Cc: Biju Das, Lars-Peter Clausen, Uwe Kleine-König,
	Andy Shevchenko, Marek Vasut, linux-iio, Geert Uytterhoeven,
	Prabhakar Mahadev Lad, 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:
 * Updated commit description for patch#1 with reason for change as
   mentioned by Marek.

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

-- 
2.25.1


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

end of thread, other threads:[~2023-08-29 14:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-18 17:49 [PATCH v2 0/2] Use i2c_get_match_data() for mcp4725 DAC Biju Das
2023-08-18 17:49 ` [PATCH v2 1/2] iio: dac: mcp4725: Replace variable 'id' from struct mcp4725_data Biju Das
2023-08-18 17:49 ` [PATCH v2 2/2] iio: dac: mcp4725: Use i2c_get_match_data() Biju Das
2023-08-28 12:45   ` Jonathan Cameron
2023-08-29 14:35     ` Biju Das

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