staging: iio: cdc: ad7746: use dt for capacitive channel setup.
authorLucas Stankus <lucas.p.stankus@gmail.com>
Sat, 1 May 2021 12:32:53 +0000 (09:32 -0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 3 Jun 2021 17:24:13 +0000 (18:24 +0100)
commitbbd125f84fccb29b365606d4c8fb4862d78a078e
tree33437a5eed617996c53299b30dc719d6e5c824f4
parent13f212e15b843684d4922278b97fcd0e3627e0e0
staging: iio: cdc: ad7746: use dt for capacitive channel setup.

Ditch platform_data fields in favor of device tree properties for
configuring EXCA and EXCB output pins and setting the capacitive channel
excitation level.

As this covers all current use cases for the platform_data struct, remove
ad7746.h header file since it's no longer needed.

Signed-off-by: Lucas Stankus <lucas.p.stankus@gmail.com>
Link: https://lore.kernel.org/r/3e7f2a0a8960cece185f518ff2b7ceb87891edcd.1619841953.git.lucas.p.stankus@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/staging/iio/cdc/ad7746.c
drivers/staging/iio/cdc/ad7746.h [deleted file]