// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (C) 2020 Invensense, Inc. */ #include <linux/kernel.h> #include <linux/device.h> #include <linux/mutex.h> #include <linux/pm_runtime.h> #include <linux/regmap.h> #include <linux/iio/iio.h> #include "inv_icm42600.h" #include "inv_icm42600_temp.h" static int inv_icm42600_temp_read(struct inv_icm42600_state *st, int16_t *temp) { … } int inv_icm42600_temp_read_raw(struct iio_dev *indio_dev, struct iio_chan_spec const *chan, int *val, int *val2, long mask) { … }