commit | f4a27306d48d39a2084ed25a9e3d2bb0833562fd | [log] [tgz] |
---|---|---|
author | Stefan Popa <stefan.popa@analog.com> | Wed Apr 11 14:52:31 2018 +0300 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Sun Apr 15 19:15:54 2018 +0100 |
tree | 3eeea343b020795492a6217a19c270575c071952 | |
parent | 16a3c17575c41d8f2e8406e89b9f3ba1eaabea19 [diff] |
iio:dac:ad5686: Add support for various number of channels This patch adds a new num_channels attribute as part of the ad5686_chip_info struct which replaces the AD5686_DAC_CHANNELS define. This is a necessary step, since this driver should support similar devices which differ only in the number of channels. Signed-off-by: Stefan Popa <stefan.popa@analog.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>