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

Marcelo Machado Lage marcelomlage em usp.br
Sex Abr 24 20:20:07 -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 with help of bits.h APIs
  iio: adc: mcp3422: write bit operations using bitfield.h APIs

 drivers/iio/adc/mcp3422.c | 65 ++++++++++++++++-----------------------
 1 file changed, 27 insertions(+), 38 deletions(-)

-- 
2.34.1



Mais detalhes sobre a lista de discussão kernel