iio:dac:ad5686: Refactor the driver
authorStefan Popa <stefan.popa@analog.com>
Wed, 11 Apr 2018 11:53:17 +0000 (14:53 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 15 Apr 2018 18:36:32 +0000 (19:36 +0100)
commit0357e488b825313db3d574137337557f404e59ed
tree5e56ffa73a95b4a7c46f779ad8b05c441d250085
parent98baf78e6dbee226e6490deafb0e5aca65b861ee
iio:dac:ad5686: Refactor the driver

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
instead of SPI).

Signed-off-by: Stefan Popa <stefan.popa@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
MAINTAINERS
drivers/iio/dac/Kconfig
drivers/iio/dac/Makefile
drivers/iio/dac/ad5686-spi.c [new file with mode: 0644]
drivers/iio/dac/ad5686.c
drivers/iio/dac/ad5686.h [new file with mode: 0644]