iio: imu: inv_mpu6050: add debugfs register r/w interface
authorRohit Sarkar <rohitsarkar5398@gmail.com>
Fri, 27 Mar 2020 13:10:23 +0000 (18:40 +0530)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 19 Apr 2020 15:56:20 +0000 (16:56 +0100)
commit4b7ef6040fc49d51379d2db72c2e2d70db794d47
treeb154fa08387f2ddd6389c2feb862d21b5d3a67fd
parent792897ce417f9690cc7e365a4aca9fa3f4cf6c77
iio: imu: inv_mpu6050: add debugfs register r/w interface

The debugfs interface provides direct access to read and write device
registers if debugfs is enabled.

Signed-off-by: Rohit Sarkar <rohitsarkar5398@gmail.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Jean-Baptiste Maneyrol <jmaneyrol@invensense.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/imu/inv_mpu6050/inv_mpu_core.c