This series of patches adds user input to ad7780 'gain' & 'filter' gpio
pins, moves regulator initialization to after gpio initialization to
maintain consistency between probe and remove, adds SPDX to the driver's
license, and moves the ad7780 to the mainline.

Renato Lui Geh (4):
 staging: iio: ad7780: add gain & filter gpio support
 staging: iio: ad7780: move regulator to after GPIO init
 staging: iio: ad7780: add SPDX identifier
 staging: iio: ad7780: moving ad7780 out of staging

Changelog:
*v3
        - SPDX and regulator init as patches
        - Renamed filter to odr and ad778x_filter to ad778x_odr_avail
        - Removed unnecessary regulator disabling
        - Removed unnecessary AD_SD_CHANNEL macro
        - Changed unsigned int to unsigned long long to avoid overflow

drivers/iio/adc/Kconfig          |  13 ++
drivers/iio/adc/Makefile         |   1 +
drivers/iio/adc/ad7780.c         | 359 +++++++++++++++++++++++++++++++
drivers/staging/iio/adc/Kconfig  |  13 --
drivers/staging/iio/adc/Makefile |   1 -
drivers/staging/iio/adc/ad7780.c | 277 ------------------------
6 files changed, 373 insertions(+), 291 deletions(-)
create mode 100644 drivers/iio/adc/ad7780.c
delete mode 100644 drivers/staging/iio/adc/ad7780.c

--
2.20.1

Reply via email to