mbox series

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

Message ID 20181208151638.8759-1-shreeya.patel23498@gmail.com (mailing list archive)
Headers show
Series Remove platform data and introduce DT bindings | expand

Message

Shreeya Patel Dec. 8, 2018, 3:16 p.m. UTC
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(-)