From: Marcelo Machado Lage <marcelomlage@usp.br>
To: andy@kernel.org, dlechner@baylibre.com, jic23@kernel.org,
nuno.sa@analog.com
Cc: Marcelo Machado Lage <marcelomlage@usp.br>, linux-iio@vger.kernel.org
Subject: [PATCH v3 0/2] iio: adc: mcp3422: apply bit manipulation macros
Date: Mon, 20 Apr 2026 16:14:53 -0300 [thread overview]
Message-ID: <20260420191455.529923-1-marcelomlage@usp.br> (raw)
This patch set rewrites several open-coded bit manipulation parts of
the MCP3421/2/3/4/5/6/7/8 driver code using bits.h and bitfield.h
macros.
Marcelo Machado Lage (2):
iio: adc: mcp3422: rewrite mask macros using bits.h macros
iio: adc: mcp3422: write bit operations with bitfield.h macros
drivers/iio/adc/mcp3422.c | 63 ++++++++++++++++-----------------------
1 file changed, 26 insertions(+), 37 deletions(-)
--
2.34.1
next reply other threads:[~2026-04-20 19:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-20 19:14 Marcelo Machado Lage [this message]
2026-04-20 19:14 ` [PATCH v3 1/2] iio: adc: mcp3422: rewrite mask macros using bits.h macros Marcelo Machado Lage
2026-04-20 19:14 ` [PATCH v3 2/2] iio: adc: mcp3422: write bit operations with bitfield.h macros Marcelo Machado Lage
2026-04-20 20:24 ` Andy Shevchenko
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=20260420191455.529923-1-marcelomlage@usp.br \
--to=marcelomlage@usp.br \
--cc=andy@kernel.org \
--cc=dlechner@baylibre.com \
--cc=jic23@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=nuno.sa@analog.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox