mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] correct macro issues
@ 2026-01-31  7:38 Michael Harris
  2026-01-31  7:38 ` [PATCH 1/2] staging: iio: adt7316: remove unused macros Michael Harris
  2026-01-31  7:38 ` [PATCH 2/2] staging: iio: adt7316: convert magic numbers to BIT() and GENMASK() Michael Harris
  0 siblings, 2 replies; 8+ messages in thread
From: Michael Harris @ 2026-01-31  7:38 UTC (permalink / raw)
  To: Lars-Peter Clausen, Michael Hennerich, Jonathan Cameron,
	Greg Kroah-Hartman
  Cc: David Lechner, Nuno Sá,
	Andy Shevchenko, linux-iio, linux-staging, linux-kernel,
	Michael Harris

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>


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-02-04 10:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-31  7:38 [PATCH 0/2] correct macro issues Michael Harris
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

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®