lkml.org 
[lkml]   [2020]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH] iio: imu: adis16xxx: use helper to access iio core debugfs dir
Date

> From: Alexandru Ardelean <alexandru.ardelean@analog.com>
> Sent: Donnerstag, 30. April 2020 13:04
> To: linux-iio@vger.kernel.org; linux-kernel@vger.kernel.org
> Cc: Bogdan, Dragos <Dragos.Bogdan@analog.com>; Sa, Nuno
> <Nuno.Sa@analog.com>; jic23@kernel.org; Ardelean, Alexandru
> <alexandru.Ardelean@analog.com>
> Subject: [PATCH] iio: imu: adis16xxx: use helper to access iio core debugfs dir
>
> The IIO core provides a iio_get_debugfs_dentry() helper.
> It seems that the ADIS IMU drivers access that field directly.
>
> This change converts them to use iio_get_debugfs_dentry() instead.
>
> Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
> ---
> drivers/iio/gyro/adis16136.c | 10 ++++------
> drivers/iio/imu/adis16400.c | 10 ++++------
> drivers/iio/imu/adis16460.c | 10 ++++------
> drivers/iio/imu/adis16475.c | 15 ++++++---------
> drivers/iio/imu/adis16480.c | 16 ++++++----------
> 5 files changed, 24 insertions(+), 37 deletions(-)
>

Acked-by: Nuno Sá <nuno.sa@analog.com>

\
 
 \ /
  Last update: 2020-04-30 13:55    [W:2.060 / U:0.396 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site