diff options
| author | Aldo Conte <aldocontelk@gmail.com> | 2026-05-22 14:34:18 +0200 |
|---|---|---|
| committer | Jonathan Cameron <jic23@kernel.org> | 2026-05-31 11:01:48 +0100 |
| commit | 1ccae88c0a1023e0c9f757dc6b1fbca463b32b36 (patch) | |
| tree | 78d664da62b2df8b5ec96191eaa1f24c4960671d /lib/raid/raid6/git@git.tavy.me:linux-stable.git | |
| parent | c9dc65030e5705d17c9605a17732d15b71898d0b (diff) | |
iio: tcs3472: move standalone return to default case
Move the trailing 'return -EINVAL' statements at the end of
tcs3472_read_raw() and tcs3472_write_raw() into explicit default:
cases inside the respective switch statements.
This removes the need for a separate return statement
after the switch.
No functional change.
Suggested-by: Andy Shevchenko <andy@kernel.org>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Reviewed-by: Joshua Crofts <joshua.crofts1@gmail.com>
Signed-off-by: Aldo Conte <aldocontelk@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'lib/raid/raid6/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
