Version 2 of the series trying to move ad7746 our of staging. Changes in v2: (v1-> https://lkml.org/lkml/2018/3/21/406) * Fix some issues pointed out by Jonathan * Power down device on remove * Add new ABI for the use case Hernán Gonzalez (14): staging: iio: ad7746: Automatically swap values in readings/writings staging: iio: ad7746: Adjust arguments to match open parenthesis staging: iio: ad7746: Fix bound checkings staging: iio: ad7746: Fix multiple line dereference staging: iio: ad7746: Reorder includes alphabetically staging: iio: ad7746: Reorder variable declarations staging: iio: ad7746: Remove unused defines staging: iio: ad7746: Add dt-bindings staging: iio: ad7746: Add remove() staging: iio: ad7746: Add comments staging: iio: ad7746: Add devicetree bindings documentation staging: iio: ad7746: Add ABI documentation Move ad7746 out of staging staging: iio: Remove ad7746 from staging Documentation/ABI/testing/sysfs-bus-iio-ad7746 | 17 +++ .../devicetree/bindings/iio/cdc/ad7746.txt | 34 +++++ drivers/iio/Kconfig | 1 + drivers/iio/Makefile | 1 + drivers/iio/cdc/Kconfig | 16 ++ drivers/iio/cdc/Makefile | 5 + drivers/{staging => }/iio/cdc/ad7746.c | 162 ++++++++++++++++----- drivers/staging/iio/cdc/Kconfig | 10 -- drivers/staging/iio/cdc/Makefile | 1 - .../staging => include/linux}/iio/cdc/ad7746.h | 9 -- 10 files changed, 201 insertions(+), 55 deletions(-) create mode 100644 Documentation/ABI/testing/sysfs-bus-iio-ad7746 create mode 100644 Documentation/devicetree/bindings/iio/cdc/ad7746.txt create mode 100644 drivers/iio/cdc/Kconfig create mode 100644 drivers/iio/cdc/Makefile rename drivers/{staging => }/iio/cdc/ad7746.c (85%) rename {drivers/staging => include/linux}/iio/cdc/ad7746.h (70%) -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html