mbox series

[v2,0/5] Remove platform data and introduce DT bindings

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

Message

Shreeya Patel Nov. 20, 2018, 4:47 p.m. UTC
This patchset introduces device tree bindings for adt7316
driver and removes the usage of platform data from it.
Also, it sets the data field to it's appropriate value in
the i2c read function which was nowhere being set before.

Changes in v2:
  - Make the commit message of patch *[1/5] appropriate.

Shreeya Patel (5):
  Staging: iio: adt7316: Add of_device_id table
  Staging: iio: adt7316: Use device tree data to set ldac_pin
  Staging: iio: adt7316: Switch irq_flags to a local variable
  Staging: iio: adt7316: Change the name from irq_flags to irq_type
  Staging: iio: adt7316: Use device tree data to assign irq_type

 drivers/staging/iio/addac/adt7316-i2c.c | 14 ++++++++-
 drivers/staging/iio/addac/adt7316-spi.c |  1 -
 drivers/staging/iio/addac/adt7316.c     | 39 ++++++++++++++++++-------
 drivers/staging/iio/addac/adt7316.h     |  1 -
 4 files changed, 42 insertions(+), 13 deletions(-)