public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] iio: pressure: bmp280: Use i2c_get_match_data()
@ 2023-08-05 23:15 Angel Iglesias
  2023-08-05 23:15 ` [PATCH 1/2] iio: pressure: bmp280: i2c: Rearrange vars in reverse xmas tree order Angel Iglesias
  2023-08-05 23:15 ` [PATCH 2/2] iio: pressure: bmp280: Use i2c_get_match_data Angel Iglesias
  0 siblings, 2 replies; 7+ messages in thread
From: Angel Iglesias @ 2023-08-05 23:15 UTC (permalink / raw)
  To: linux-iio
  Cc: Angel Iglesias, Jonathan Cameron, Lars-Peter Clausen,
	Andy Shevchenko, Uwe Kleine-König, linux-kernel

Minor cleanup of BMP280 i2c code and migration to the new helper function
i2c_get_match_data() instead of device_get_match_data().

Patch 1 reorders local variable declarations on probe function following
the reverse xmas tree to unify styles with other parts of the driver.

Patch 2 ports adtops the i2c_get_match_data() helper on the i2c probe.

Angel Iglesias (2):
  iio: pressure: bmp280: i2c: Rearrange vars in reverse xmas tree order
  iio: pressure: bmp280: Use i2c_get_match_data

 drivers/iio/pressure/bmp280-i2c.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)


base-commit: 6d9c5ae6a70c9e1017a7a252bc730d9168e219ce
-- 
2.41.0


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

end of thread, other threads:[~2023-08-12 15:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-05 23:15 [PATCH 0/2] iio: pressure: bmp280: Use i2c_get_match_data() Angel Iglesias
2023-08-05 23:15 ` [PATCH 1/2] iio: pressure: bmp280: i2c: Rearrange vars in reverse xmas tree order Angel Iglesias
2023-08-07 15:43   ` Andy Shevchenko
2023-08-12 15:50     ` Angel Iglesias
2023-08-05 23:15 ` [PATCH 2/2] iio: pressure: bmp280: Use i2c_get_match_data Angel Iglesias
2023-08-06 11:30   ` Uwe Kleine-König
2023-08-12 15:47     ` Angel Iglesias

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