Create list of compatible device ids to be matched with those stated in
the device tree.
Signed-off-by: Bárbara Fernandes
Signed-off-by: Wilson Sales
Co-developed by: Wilson Sales
---
drivers/staging/iio/adc/ad7192.c | 12
1 file changed, 12 insertions(+)
diff --git a/drivers
Create macro for capacitance channels in order to remove the repeated
code and improve its readability.
Signed-off-by: Bárbara Fernandes
Signed-off-by: Wilson Sales
Co-developed-by: Wilson Sales
---
drivers/staging/iio/cdc/ad7150.c | 29 -
1 file changed, 12
Create list of compatible device ids to be matched with those stated in
the device tree.
Signed-off-by: Bárbara Fernandes
Signed-off-by: Wilson Sales
Co-developed by: Wilson Sales
---
drivers/staging/iio/adc/ad7192.c | 12
1 file changed, 12 insertions(+)
diff --git a/drivers
Create structure of type of_device_id in order to register all devices
the driver is able to manage.
Signed-off-by: Bárbara Fernandes
Signed-off-by: Wilson Sales
Co-developed-by: Wilson Sales
---
drivers/staging/iio/addac/adt7316-spi.c | 13 +
1 file changed, 13 insertions
This series of patches set a struct of_device_id with all the devices this
driver is able to manage and also add a macro to facilitate channel creation for
its two capacitance channels.
Bárbara Fernandes (2):
staging: iio: cdc: ad7150: create of_device_id array
staging: iio: cdc: ad7150
Create structure of type of_device_id in order to register all devices
the driver is able to manage.
Signed-off-by: Bárbara Fernandes
Signed-off-by: Melissa Wen
Co-developed-by: Melissa Wen
Signed-off-by: Wilson Sales
Co-developed-by: Wilson Sales
---
drivers/staging/iio/cdc/ad7150.c | 10