Use the adis managed device functions to setup the buffer and the trigger.
The ultimate goal will be to completely drop the non devm version from
the lib.
Signed-off-by: Nuno Sá
---
drivers/staging/iio/accel/adis16203.c | 16 +++-
1 file changed, 3 insertions(+), 13 deletions
Use the adis managed device functions to setup the buffer and the trigger.
The ultimate goal will be to completely drop the non devm version from
the lib.
Signed-off-by: Nuno Sá
---
drivers/staging/iio/accel/adis16240.c | 14 +++---
1 file changed, 3 insertions(+), 11 deletions(-)
diff
Use the adis managed device functions to setup the buffer and the trigger.
The ultimate goal will be to completely drop the non devm version from
the lib.
Signed-off-by: Nuno Sá
---
drivers/iio/accel/adis16201.c | 16 +++-
1 file changed, 3 insertions(+), 13 deletions(-)
diff --git
Use the adis managed device functions to setup the buffer and the trigger.
The ultimate goal will be to completely drop the non devm version from
the lib.
Signed-off-by: Nuno Sá
---
drivers/iio/gyro/adis16260.c | 15 +++
1 file changed, 3 insertions(+), 12 deletions(-)
diff --git a
Drop `adis_setup_buffer_and_trigger()`. All users were updated to use
the devm version of this function. This avoids having almost the same
code repeated.
Signed-off-by: Nuno Sá
---
Changes in v2:
* Nothing changed.
drivers/iio/imu/adis_buffer.c | 64
Use the adis managed device functions to setup the buffer and the trigger.
The ultimate goal will be to completely drop the non devm version from
the lib.
Since we are here, drop the `.remove` callback by further using devm
functions.
Signed-off-by: Nuno Sá
---
Changes in v2:
* Further use
Use the adis managed device functions to setup the buffer and the trigger.
The ultimate goal will be to completely drop the non devm version from
the lib.
Since we are here, drop the `.remove` callback by further using devm
functions.
Signed-off-by: Nuno Sá
---
Changes in v2:
* Further use
Use the adis managed device functions to setup the buffer and the trigger.
The ultimate goal will be to completely drop the non devm version from
the lib.
Since we are here, drop the `.remove` callback by further using devm
functions.
Signed-off-by: Nuno Sá
---
Changes in v2:
* Further use
Use the adis managed device functions to setup the buffer and the trigger.
The ultimate goal will be to completely drop the non devm version from
the lib.
Since we are here, drop the `.remove` callback by further using devm
functions.
Signed-off-by: Nuno Sá
---
Changes in v2:
* Further use
Use the adis managed device functions to setup the buffer and the trigger.
The ultimate goal will be to completely drop the non devm version from
the lib.
Since we are here, drop the `.remove` callback by further using devm
functions.
Signed-off-by: Nuno Sá
---
Changes in v2:
* Further use
Use the adis managed device functions to setup the buffer and the trigger.
The ultimate goal will be to completely drop the non devm version from
the lib.
Since we are here, drop the `.remove` callback by further using devm
functions.
Signed-off-by: Nuno Sá
---
Changes in v2:
* Further use
Use the adis managed device functions to setup the buffer and the trigger.
The ultimate goal will be to completely drop the non devm version from
the lib.
Since we are here, drop the `.remove` callback by further using devm
functions.
Signed-off-by: Nuno Sá
---
Changes in v2:
* Further use
Use the adis managed device functions to setup the buffer and the trigger.
The ultimate goal will be to completely drop the non devm version from
the lib.
Since we are here, drop the `.remove` callback by further using devm
functions.
Signed-off-by: Nuno Sá
---
Changes in v2:
* Further use
Use the adis managed device functions to setup the buffer and the trigger.
The ultimate goal will be to completely drop the non devm version from
the lib.
Since we are here, drop the `.remove` callback by further using devm
functions.
Signed-off-by: Nuno Sá
---
Changes in v2:
* Further use
This series updates all users of `adis_setup_buffer_and_trigger()` to
use the devm version of it. The ultimate goal of the series is to drop
it from the lib as stated by Jonathan in [1].
[1]: https://marc.info/?l=linux-iio&m=158326796924980&w=2
Nuno Sá (10):
iio: adis16201: Use Manage
Use the adis managed device functions to setup the buffer and the trigger.
The ultimate goal will be to completely drop the non devm version from
the lib.
Signed-off-by: Nuno Sá
---
drivers/iio/imu/adis16480.c | 7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/drivers
Use the adis managed device functions to setup the buffer and the trigger.
The ultimate goal will be to completely drop the non devm version from
the lib.
Signed-off-by: Nuno Sá
---
drivers/iio/gyro/adis16136.c | 9 ++---
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/drivers
Use the adis managed device functions to setup the buffer and the trigger.
The ultimate goal will be to completely drop the non devm version from
the lib.
Signed-off-by: Nuno Sá
---
drivers/iio/imu/adis16460.c | 13 +++--
1 file changed, 3 insertions(+), 10 deletions(-)
diff --git a
Use the adis managed device functions to setup the buffer and the trigger.
The ultimate goal will be to completely drop the non devm version from
the lib.
Signed-off-by: Nuno Sá
---
drivers/iio/accel/adis16209.c | 15 +++
1 file changed, 3 insertions(+), 12 deletions(-)
diff --git
This series updates all users of `adis_setup_buffer_and_trigger()` to
use the devm version of it. The ultimate goal of the series is to drop
it from the lib as stated by Jonathan in [1].
[1]: https://marc.info/?l=linux-iio&m=158326796924980&w=2
Nuno Sá (10):
iio: adis16201: Use Manage
Use the adis managed device functions to setup the buffer and the trigger.
The ultimate goal will be to completely drop the non devm version from
the lib.
Signed-off-by: Nuno Sá
---
drivers/iio/imu/adis16400.c | 15 ---
1 file changed, 4 insertions(+), 11 deletions(-)
diff --git a
Drop `adis_setup_buffer_and_trigger()`. All users were updated to use
the devm version of this function. This avoids having almost the same
code repeated.
Signed-off-by: Nuno Sá
---
drivers/iio/imu/adis_buffer.c | 64 +++---
drivers/iio/imu/adis_trigger.c | 60
Hi Jonathan,
On Sat, 2020-02-01 at 17:08 +, Jonathan Cameron wrote:
> On Mon, 20 Jan 2020 16:20:49 +0200
> Alexandru Ardelean wrote:
>
> > From: Nuno Sá
> >
> > All the ADIS devices perform, at the beginning, a self test to make
> > sure
> > the
23 matches
Mail list logo