summaryrefslogtreecommitdiffstats
path: root/drivers/iio/dac/cio-dac.c
diff options
context:
space:
mode:
authorBiju Das <biju.das.jz@bp.renesas.com>2023-09-03 12:55:48 +0100
committerJonathan Cameron <jonathan.cameron@huawei.com>2023-09-12 10:42:04 +0100
commitc377e2febd91e21782f9106e663937f0629f39f1 (patch)
tree8f5c422b0788e48c6878f2c81cde4a31ef8146a9 /drivers/iio/dac/cio-dac.c
parent155da070b4388ed53f058259923f46740a51afde (diff)
downloadlinux-stable-c377e2febd91e21782f9106e663937f0629f39f1.tar.gz
linux-stable-c377e2febd91e21782f9106e663937f0629f39f1.tar.bz2
linux-stable-c377e2febd91e21782f9106e663937f0629f39f1.zip
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/dac/cio-dac.c')
0 files changed, 0 insertions, 0 deletions