From: Michael Harris <michaelharriscode@gmail.com>
To: Lars-Peter Clausen <lars@metafoo.de>,
Michael Hennerich <Michael.Hennerich@analog.com>,
Jonathan Cameron <jic23@kernel.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: "David Lechner" <dlechner@baylibre.com>,
"Nuno Sá" <nuno.sa@analog.com>,
"Andy Shevchenko" <andy@kernel.org>,
linux-iio@vger.kernel.org, linux-staging@lists.linux.dev,
linux-kernel@vger.kernel.org,
"Michael Harris" <michaelharriscode@gmail.com>
Subject: [PATCH 0/2] correct macro issues
Date: Fri, 30 Jan 2026 23:38:26 -0800 [thread overview]
Message-ID: <20260130-adt7316-correct-macros-v1-0-8a71df1e42f1@gmail.com> (raw)
This series corrects the following issues found in the macro definitions:
- Magic numbers which correspond to bits or masks, but aren't using
BIT() or GENMASK()
- Macros that aren't in use anywhere in the driver
Signed-off-by: Michael Harris <michaelharriscode@gmail.com>
---
Michael Harris (2):
staging: iio: adt7316: remove unused macros
staging: iio: adt7316: convert magic numbers to BIT() and GENMASK()
drivers/staging/iio/addac/adt7316.c | 91 ++++++++++++++++---------------------
1 file changed, 40 insertions(+), 51 deletions(-)
---
base-commit: 5d2905f2c6acdd1c553f9b022dee730ab2cced71
change-id: 20260130-adt7316-correct-macros-b6801b4ae1b1
Best regards,
--
Michael Harris <michaelharriscode@gmail.com>
next reply other threads:[~2026-01-31 7:38 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-31 7:38 Michael Harris [this message]
2026-01-31 7:38 ` [PATCH 1/2] staging: iio: adt7316: remove unused macros Michael Harris
2026-01-31 15:54 ` Jonathan Cameron
2026-01-31 19:12 ` Michael Harris
2026-01-31 7:38 ` [PATCH 2/2] staging: iio: adt7316: convert magic numbers to BIT() and GENMASK() Michael Harris
2026-01-31 16:21 ` Jonathan Cameron
2026-02-04 6:50 ` Michael Harris
2026-02-04 10:32 ` David Laight
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=20260130-adt7316-correct-macros-v1-0-8a71df1e42f1@gmail.com \
--to=michaelharriscode@gmail.com \
--cc=Michael.Hennerich@analog.com \
--cc=andy@kernel.org \
--cc=dlechner@baylibre.com \
--cc=gregkh@linuxfoundation.org \
--cc=jic23@kernel.org \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--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
all inboxes | Powered by JetHome®