From: Angel Iglesias <ang.iglesiasg@gmail.com>
To: linux-iio@vger.kernel.org
Cc: linux-kernel@vger.kernel.org,
"Angel Iglesias" <ang.iglesiasg@gmail.com>,
"Jonathan Cameron" <jic23@kernel.org>,
"Lars-Peter Clausen" <lars@metafoo.de>,
"Andy Shevchenko" <andriy.shevchenko@linux.intel.com>,
"Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
Subject: [PATCH v2 0/3] iio: pressure: bmp280: Small driver cleanup
Date: Sun, 13 Aug 2023 21:03:53 +0200 [thread overview]
Message-ID: <cover.1691952005.git.ang.iglesiasg@gmail.com> (raw)
Minor cleanup of BMP280 i2c code and migration to the new helper functions
i2c_get_match_data() and spi_get_device_match_data().
Revise driver coding style to follow reverse christmas tree.
Changelog v2:
- Added patch 3 adopting spi_get_device_match_data().
- Updated patch 2 following advice from Uwe Kleine-König
<u.kleine-koenig@pengutronix.de> regarding unintentioned driver semantic
changes.
- Revised thoroughfully driver coding style and update more functions.
v1:
https://lore.kernel.org/all/cover.1691276610.git.ang.iglesiasg@gmail.com/
Angel Iglesias (3):
iio: pressure: bmp280: i2c: Rearrange vars in reverse xmas tree order
iio: pressure: bmp280: Use i2c_get_match_data
iio: pressure: bmp280: Use spi_get_device_match_data()
drivers/iio/pressure/bmp280-core.c | 4 ++--
drivers/iio/pressure/bmp280-i2c.c | 8 +++-----
drivers/iio/pressure/bmp280-spi.c | 10 +++-------
3 files changed, 8 insertions(+), 14 deletions(-)
base-commit: 14b7447cec15ee8dfdfe0da66ba1e280ded7e00a
--
2.41.0
next reply other threads:[~2023-08-13 19:04 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-13 19:03 Angel Iglesias [this message]
2023-08-13 19:03 ` [PATCH v2 1/3] iio: pressure: bmp280: i2c: Rearrange vars in reverse xmas tree order Angel Iglesias
2023-08-13 19:03 ` [PATCH v2 2/3] iio: pressure: bmp280: Use i2c_get_match_data Angel Iglesias
2023-08-13 19:09 ` Angel Iglesias
2023-08-14 6:57 ` Biju Das
2023-08-14 16:43 ` Angel Iglesias
2023-08-28 11:39 ` Jonathan Cameron
2023-09-07 7:09 ` Angel Iglesias
2023-09-07 7:11 ` Biju Das
2023-08-13 19:03 ` [PATCH v2 3/3] iio: pressure: bmp280: Use spi_get_device_match_data() Angel Iglesias
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1691952005.git.ang.iglesiasg@gmail.com \
--to=ang.iglesiasg@gmail.com \
--cc=andriy.shevchenko@linux.intel.com \
--cc=jic23@kernel.org \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=u.kleine-koenig@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.