staging: iio: ad7746: add device tree support
authorJoão Seckler <joaoseckler@gmail.com>
Sat, 18 May 2019 22:27:33 +0000 (19:27 -0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 26 May 2019 17:48:14 +0000 (18:48 +0100)
commit094c52dbaf0a9aae5cef59eaa17cf257aa76bd74
treee84195b683a5f625566662cbb705d073f5edf8ca
parented83144e6d71bc0ac56805388bdd04949beb1be7
staging: iio: ad7746: add device tree support

Add a of_device_id struct variable and subsequent call to
MODULE_DEVICE_TABLE macro to support device tree.

Signed-off-by: João Seckler <joaoseckler@gmail.com>
Signed-off-by: Lucas Oshiro <lucasseikioshiro@gmail.com>
Co-developed-by: Lucas Oshiro <lucasseikioshiro@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/staging/iio/cdc/ad7746.c