diff options
| author | Marcelo Machado Lage <marcelomlage@usp.br> | 2026-04-29 19:44:01 -0300 |
|---|---|---|
| committer | Jonathan Cameron <jic23@kernel.org> | 2026-05-31 10:59:35 +0100 |
| commit | 484f68c753373d5f5c02a6014bdc8aa28fb820a3 (patch) | |
| tree | 36798c6f3ef003009f21c373b97ac029a2cf8f6a /tools/perf/scripts/python/stackcollapse.py | |
| parent | 0c794147f2450a7948f22820698607b4e1b7c49e (diff) | |
iio: adc: mcp3422: write bit operations using bitfield.h APIs
Replace manual bit manipulations with FIELD_GET(), FIELD_PREP() and
FIELD_MODIFY() calls. The resulting code is more readable and
maintainable, and 6 macros previously defined in the header are not
needed anymore.
Signed-off-by: Marcelo Machado Lage <marcelomlage@usp.br>
Co-developed-by: Vinicius Lira <vinilira@usp.br>
Signed-off-by: Vinicius Lira <vinilira@usp.br>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
