[PATCH v2 2/6] iio:dac:ad5686: Add support for various number of channels

2018-04-10 Thread Stefan Popa
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

[PATCH v2 2/6] iio:dac:ad5686: Add support for various number of channels

2018-04-10 Thread Stefan Popa
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 --- Changes in v2: