diff options
| author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-03-14 18:14:50 +0000 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-04-07 08:36:35 +0100 |
| commit | 0c4c4a868ab4af5886d070379b5964d1e0835c19 (patch) | |
| tree | 3525ff3a5ae7bd62da97093afbd23f673bd1fe76 /include/linux/errqueue.h | |
| parent | 1a17e7cbbffaac98ac62bf0fa5b6eb2f65fb5ade (diff) | |
| download | cachepc-linux-0c4c4a868ab4af5886d070379b5964d1e0835c19.tar.gz cachepc-linux-0c4c4a868ab4af5886d070379b5964d1e0835c19.zip | |
staging:iio:cdc:ad7150: Refactor event parameter update
Original code was ordered in a fairly unituitive fashion with
the non adaptive threshold handling returning from the switch
statement, whilst the adapative path did the actual writes outside
the switch. Make it more readable by bringing everything within
the switch statement cases and reducing scope of local variables
as appropriate.
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Reviewed-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Link: https://lore.kernel.org/r/20210314181511.531414-4-jic23@kernel.org
Diffstat (limited to 'include/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions
