iio: adis16480: Add debugfs_reg_access entry
authorNuno Sá <nuno.sa@analog.com>
Mon, 28 Oct 2019 16:33:49 +0000 (17:33 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 11 Nov 2019 18:38:13 +0000 (18:38 +0000)
commit4c35b7a51e2f291471f7221d112c6a45c63e83bc
treeec3868509a613114e15d82c9cf7b62ff599c7746
parent49549cb23a2926eba70bb634e361daea0f319794
iio: adis16480: Add debugfs_reg_access entry

The driver is defining debugfs entries by calling
`adis16480_debugfs_init()`. However, those entries are attached to the
iio_dev debugfs entry which won't exist if no debugfs_reg_access
callback is provided.

Fixes: 2f3abe6cbb6c ("iio:imu: Add support for the ADIS16480 and similar IMUs")
Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/imu/adis16480.c