Messages in this thread | | | From | "Sa, Nuno" <> | Subject | RE: [PATCH] iio: imu: adis16xxx: use helper to access iio core debugfs dir | Date | Thu, 30 Apr 2020 11:53:08 +0000 |
| |
> 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>
| |