diff options
author | 2023-04-06 10:40:13 -0400 | |
---|---|---|
committer | 2023-04-10 12:26:33 +0100 | |
commit | a94abc74c5248d3c09bb18aa8437e85a6a31eadd (patch) | |
tree | c16f8a68f47cac1bf37507d7076d11c0903fee9a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | iio: addac: stx104: Use define rather than hardcoded limit for write val (diff) | |
download | wireguard-linux-a94abc74c5248d3c09bb18aa8437e85a6a31eadd.tar.xz wireguard-linux-a94abc74c5248d3c09bb18aa8437e85a6a31eadd.zip |
iio: addac: stx104: Improve indentation in stx104_write_raw()
By bailing out early if chan->output is false for the IIO_CHAN_INFO_RAW,
indentation can be decreased by a tab and code readability improved.
Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: William Breathitt Gray <william.gray@linaro.org>
Link: https://lore.kernel.org/r/487d17da9e2612f3e6b2bd1c3def2fa1b955db9b.1680790580.git.william.gray@linaro.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions