Add a of_device_id struct and MODULE_DEVICE_TABLE call, in order to add
device-tree support for this driver.
Signed-off-by: Lucas Oshiro
Signed-off-by: Rodrigo Ribeiro
Co-developed-by: Rodrigo Ribeiro
---
drivers/staging/iio/accel/adis16240.c | 6 ++
1 file changed, 6 insertions(+)
diff
Add a of_device_id struct and MODULE_DEVICE_TABLE call.
Signed-off-by: Lucas Oshiro
Signed-off-by: Rodrigo Ribeiro
Co-developed-by: Rodrigo Ribeiro
---
drivers/staging/iio/accel/adis16240.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/staging/iio/accel/adis16240.c
b
Replace bitshifts on lines 54, 56 and 78 of ad7746.c.
Signed-off-by: Lucas Oshiro
---
drivers/staging/iio/cdc/ad7746.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/iio/cdc/ad7746.c b/drivers/staging/iio/cdc/ad7746.c
index 0eb28fea876e..ea48b14cee72