]> asedeno.scripts.mit.edu Git - linux.git/commit
iio:magn: preenable/postenable/predisable fixup for ST magn buffer
authorDenis Ciocca <denis.ciocca@st.com>
Wed, 31 Jul 2019 21:48:59 +0000 (14:48 -0700)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 5 Aug 2019 14:49:18 +0000 (15:49 +0100)
commit6ee19af415c55f8fee565613a2fa7892030ca9ac
tree48be562d01d83d35d3790d5887da8166ae931620
parent21b1ee3190340007378448fa1cae2f46046c2d35
iio:magn: preenable/postenable/predisable fixup for ST magn buffer

This patch is trying to cleanup for good the buffers operation functions.
Let's rename the goto label using operation to perform and not
where it fails.

Not stable material as not fixing a 'bug' but rather bringing the
driver in line with general 'patterns' to allow a subsystem wide
cleanup.

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>
drivers/iio/magnetometer/st_magn_buffer.c