diff options
author | Biju Das <biju.das.jz@bp.renesas.com> | 2023-09-03 14:55:48 +0300 |
---|---|---|
committer | Jonathan Cameron <jonathan.cameron@huawei.com> | 2023-09-12 12:42:04 +0300 |
commit | c377e2febd91e21782f9106e663937f0629f39f1 (patch) | |
tree | 8f5c422b0788e48c6878f2c81cde4a31ef8146a9 /drivers/iio/pressure | |
parent | 155da070b4388ed53f058259923f46740a51afde (diff) | |
download | linux-c377e2febd91e21782f9106e663937f0629f39f1.tar.xz |
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 <biju.das.jz@bp.renesas.com>
Link: https://lore.kernel.org/r/20230903115548.59306-5-biju.das.jz@bp.renesas.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/pressure')
0 files changed, 0 insertions, 0 deletions