[PATCH v3 0/3] Remove platform data and introduce DT bindings

From: Shreeya Patel
Date: Sat Dec 08 2018 - 10:16:47 EST

This patchset introduces the use of device tree bindings
for setting up the irq_type and removes the usage of platform data.
Also, code related to interrupt is moved to the new function
adt7316_setup_irq to unclutter the code in adt7316_probe().
A dev_err() message is added to give more details about the error.

Shreeya Patel (3):
Staging: iio: adt7316: Use device tree data to assign irq_type
Staging: iio: adt7316: Move interrupt related code
Staging: iio: adt7316: Add a dev_err() message

drivers/staging/iio/addac/adt7316.c | 52 +++++++++++++++++++++--------
1 file changed, 38 insertions(+), 14 deletions(-)