summaryrefslogtreecommitdiffstats
path: root/drivers/iio/gyro/mpu3050.h
diff options
context:
space:
mode:
authorJean-Baptiste Maneyrol <jmaneyrol@invensense.com>2020-02-19 15:39:48 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-03-08 17:28:37 +0000
commita3aaf7770a8887cedf216becc5392e481ee1fcaa (patch)
tree50261074de888990da7701b81877d8a9e2bfa34e /drivers/iio/gyro/mpu3050.h
parent14c046ed17111b50aa9c5d8bd25d742421ac843c (diff)
downloadlinux-a3aaf7770a8887cedf216becc5392e481ee1fcaa.tar.bz2
iio: imu: inv_mpu6050: set power on/off only once during all init
This way there is no need anymore to export the power function to i2c and spi modules. Bus setup is done inside init when power is on and the result is now checked. Signed-off-by: Jean-Baptiste Maneyrol <jmaneyrol@invensense.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/gyro/mpu3050.h')
0 files changed, 0 insertions, 0 deletions