[PATCH 0/2] iio: pressure: bmp280: Use i2c_get_match_data()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux