[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <cover.1691276610.git.ang.iglesiasg@gmail.com>
Date: Sun, 6 Aug 2023 01:15:01 +0200
From: Angel Iglesias <ang.iglesiasg@...il.com>
To: linux-iio@...r.kernel.org
Cc: Angel Iglesias <ang.iglesiasg@...il.com>,
Jonathan Cameron <jic23@...nel.org>,
Lars-Peter Clausen <lars@...afoo.de>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>, linux-kernel@...r.kernel.org
Subject: [PATCH 0/2] iio: pressure: bmp280: Use i2c_get_match_data()
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
Powered by blists - more mailing lists