Linux IIO development
 help / color / mirror / Atom feed
* [PATCH v3 0/2] Use i2c_get_match_data() instead of device_get_match_data()
@ 2023-07-25 17:16 Biju Das
  2023-07-25 17:16 ` [PATCH v3 1/2] iio: accel: adxl313: Fix adxl313_i2c_id[] table Biju Das
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Biju Das @ 2023-07-25 17:16 UTC (permalink / raw)
  To: Jonathan Cameron
  Cc: Biju Das, Lucas Stankus, Lars-Peter Clausen, Michael Hennerich,
	George Mois, 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.

v2->v3:
 * Added Rb tag from Geert for patch#1.
 * Added link to lore for Closes tag.
v1->v2:
 * Added patch#1 for fixing adxl313_i2c_id[] table.
 * Added Rb tag from Geert
 * Removed error check as all tables have data pointers.
 * retained Rb tag as the change is trivial.

Biju Das (2):
  iio: accel: adxl313: Fix adxl313_i2c_id[] table
  iio: accel: adxl313: Use i2c_get_match_data

 drivers/iio/accel/adxl313_i2c.c | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2023-07-29 11:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-25 17:16 [PATCH v3 0/2] Use i2c_get_match_data() instead of device_get_match_data() Biju Das
2023-07-25 17:16 ` [PATCH v3 1/2] iio: accel: adxl313: Fix adxl313_i2c_id[] table Biju Das
2023-07-25 17:16 ` [PATCH v3 2/2] iio: accel: adxl313: Use i2c_get_match_data Biju Das
2023-07-29 11:31 ` [PATCH v3 0/2] Use i2c_get_match_data() instead of device_get_match_data() Jonathan Cameron

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