[PATCH v2 5/6] iio:dac:ad5686: Refactor the driver

2018-04-10 Thread Stefan Popa
In this patch restructures the existing ad5686 driver by adding a module for SPI and a header file, while the baseline module deals with the chip-logic. This is a necessary step, as this driver should support in the future similar devices which differ only in the type of interface used (I2C

[PATCH v2 5/6] iio:dac:ad5686: Refactor the driver

2018-04-10 Thread Stefan Popa
In this patch restructures the existing ad5686 driver by adding a module for SPI and a header file, while the baseline module deals with the chip-logic. This is a necessary step, as this driver should support in the future similar devices which differ only in the type of interface used (I2C