Skip to contentSkip to conversation

Remove platform data and introduce DT bindings

PATCH Applied Shreeya Patel 1 participant 1 message Nov 16, 2018 IIO

v1 of 3 Applied Latest is v3 →

lore
Share & tools
lore
#0 lore raw

cover Remove platform data and introduce DT bindings

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.

Shreeya Patel (7):
Staging: iio: adt7316: Set the data field
Staging: iio: adt7316: Add an extra check for 'ret' equals to 0
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 | 19 +++++++++++-
 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, 47 insertions(+), 13 deletions(-)
Signature · 1 line
2.17.1