diff options
| author | Jonathan Santos <[email protected]> | 2025-04-11 15:56:56 +0000 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2025-04-22 18:10:04 +0000 |
| commit | 3f4bc0b11684ed1ebb46c081b77f1135869bf3dc (patch) | |
| tree | 6405fa8551e21703a74b57a65334989a280142c5 /drivers/iio/trigger/stm32-timer-trigger.c | |
| parent | iio: adc: ad_sigma_delta: Fix use of uninitialized status_pos (diff) | |
| download | kernel-3f4bc0b11684ed1ebb46c081b77f1135869bf3dc.tar.gz kernel-3f4bc0b11684ed1ebb46c081b77f1135869bf3dc.zip | |
iio: adc: ad7768-1: convert driver to use regmap
Convert the AD7768-1 driver to use the regmap API for register
access. This change simplifies and standardizes register interactions,
reducing code duplication and improving maintainability.
Create two regmap configurations, one for 8-bit register values and
other for 24-bit register values.
Since we are using regmap now, define the remaining registers from 0x32
to 0x34.
Reviewed-by: David Lechner <[email protected]>
Signed-off-by: Jonathan Santos <[email protected]>
Link: https://patch.msgid.link/aec9e5452c1ac16d5379a80dfce97c00d85614a2.1744325346.git.Jonathan.Santos@analog.com
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'drivers/iio/trigger/stm32-timer-trigger.c')
0 files changed, 0 insertions, 0 deletions
