aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/iio/gyro/st_gyro_buffer.c
diff options
context:
space:
mode:
authorDenis Ciocca <denis.ciocca@st.com>2019-07-31 14:48:57 -0700
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2019-08-05 15:40:13 +0100
commitd4e851983beec3c2c9f20f8be8d819ba4fcf3489 (patch)
tree5988586ecd15f69939e45ac4f05897335486ef28 /drivers/iio/gyro/st_gyro_buffer.c
parentdt-bindings: iio: imu: st_lsm6dsx: add ism330dhcx device bindings (diff)
downloadwireguard-linux-d4e851983beec3c2c9f20f8be8d819ba4fcf3489.tar.xz
wireguard-linux-d4e851983beec3c2c9f20f8be8d819ba4fcf3489.zip
iio:accel: preenable/postenable/predisable fixup for ST accel buffer
This patch is trying to cleanup for good the buffers operation functions. There is no need of using preenable, all can be done into postenable. Let's also rename the goto label using operation to perform and not where it fails. Note, not stable material. This is cleaning up the logic flow rather than fixing a bug. Signed-off-by: Denis Ciocca <denis.ciocca@st.com> Reviewed-by: Alexandru Ardelean <alexandru.ardelean@analog.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/gyro/st_gyro_buffer.c')
0 files changed, 0 insertions, 0 deletions