iio: imu: inv_icm42600: make timestamp module chip independent
authorJean-Baptiste Maneyrol <jean-baptiste.maneyrol@tdk.com>
Tue, 6 Jun 2023 16:21:44 +0000 (16:21 +0000)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 20 Jul 2023 18:21:28 +0000 (19:21 +0100)
commit6e9f2d8375cb24ba75e02e0272e9164d06a1522e
tree51a98ef78be228e1aa21c6d8d62daa6506d5cee9
parentf41f444334ea23ed071508f271109e2b6e878537
iio: imu: inv_icm42600: make timestamp module chip independent

Move icm42600 dependent function inside the core module.
Do some headers cleanup at the same time.

Signed-off-by: Jean-Baptiste Maneyrol <jean-baptiste.maneyrol@tdk.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/r/20230606162147.79667-2-inv.git-commit@tdk.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/imu/inv_icm42600/inv_icm42600_core.c
drivers/iio/imu/inv_icm42600/inv_icm42600_timestamp.c
drivers/iio/imu/inv_icm42600/inv_icm42600_timestamp.h