[PATCH v3 0/2] iio: adc: mcp3422: apply bit manipulation macros

Marcelo Machado Lage marcelomlage em usp.br
Seg Abr 20 13:37:04 -03 2026


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



Mais detalhes sobre a lista de discussão kernel