gpio: rcar: Fix runtime PM imbalance on error
[linux/fpc-iii.git] / drivers / iio / imu / inv_mpu6050 / inv_mpu_aux.h
blobb669975457626d70770f6228c734c51d12eae695
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * Copyright (C) 2019 TDK-InvenSense, Inc.
4 */
6 #ifndef INV_MPU_AUX_H_
7 #define INV_MPU_AUX_H_
9 #include "inv_mpu_iio.h"
11 int inv_mpu_aux_init(const struct inv_mpu6050_state *st);
13 int inv_mpu_aux_read(const struct inv_mpu6050_state *st, uint8_t addr,
14 uint8_t reg, uint8_t *val, size_t size);
16 int inv_mpu_aux_write(const struct inv_mpu6050_state *st, uint8_t addr,
17 uint8_t reg, uint8_t val);
19 #endif /* INV_MPU_AUX_H_ */