> From: Alexandru Ardelean <[email protected]> > Sent: Donnerstag, 30. April 2020 13:04 > To: [email protected]; [email protected] > Cc: Bogdan, Dragos <[email protected]>; Sa, Nuno > <[email protected]>; [email protected]; Ardelean, Alexandru > <[email protected]> > 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 <[email protected]> > --- > 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á <[email protected]>

