RE: [PATCH] iio: imu: adis16xxx: use helper to access iio core debugfs dir

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> From: Alexandru Ardelean <alexandru.ardelean@xxxxxxxxxx>
> Sent: Donnerstag, 30. April 2020 13:04
> To: linux-iio@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx
> Cc: Bogdan, Dragos <Dragos.Bogdan@xxxxxxxxxx>; Sa, Nuno
> <Nuno.Sa@xxxxxxxxxx>; jic23@xxxxxxxxxx; Ardelean, Alexandru
> <alexandru.Ardelean@xxxxxxxxxx>
> 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@xxxxxxxxxx>
> ---
>  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@xxxxxxxxxx>




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux