summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2025-03-31 13:13:01 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-04-22 19:10:00 +0100
commitb5228482ebb9239c494e51aa8814ba1b4033d20a (patch)
treef767c8ea922d7b938fc2dd6e3a89710aed42d94b /tools/perf/scripts/python/libxed.py
parent0daeba3edabf61a273779280153903e6a0bca4be (diff)
downloadlinux-b5228482ebb9239c494e51aa8814ba1b4033d20a.tar.gz
linux-b5228482ebb9239c494e51aa8814ba1b4033d20a.zip
iio: magnetometer: mag3110: Factor out core of read/write_raw() and use guard() to simplify code flow.
The combination of guard(mutex) and factoring out sections of code that occur with the device held in direct mode simplifies code flow. Reviewed-by: David Lechner <dlechner@baylibre.com> Reviewed-by: Marcelo Schmitt <marcelo.schmitt1@gmail.com> Link: https://patch.msgid.link/20250331121317.1694135-22-jic23@kernel.org Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions