> 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>