diff options
| author | Biju Das <[email protected]> | 2023-09-03 12:55:48 +0100 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2023-09-12 10:42:04 +0100 |
| commit | c377e2febd91e21782f9106e663937f0629f39f1 (patch) | |
| tree | 8f5c422b0788e48c6878f2c81cde4a31ef8146a9 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 155da070b4388ed53f058259923f46740a51afde (diff) | |
iio: dac: mcp4725: Add dac_reg_offset to struct mcp4725_chip_info
The MCP4725 has a register offset '3' for reading DAC value compared to
'4' for MCP4726. Add dac_reg_offset variable to struct mcp4725_chip_info
to handle this difference.
Drop chip_id from struct mcp4725_chip_info as it is unused.
Signed-off-by: Biju Das <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions