diff options
| author | Nikhil Gautam <nikhilgtr@gmail.com> | 2026-04-14 22:33:07 +0530 |
|---|---|---|
| committer | Jonathan Cameron <jic23@kernel.org> | 2026-04-27 09:58:20 +0100 |
| commit | 090839ecff2b30fa87b73f5001cdb150673a4d4c (patch) | |
| tree | d97c67ef387ba1eb91eb7abcc82a9b172118f0e5 /scripts | |
| parent | f4d618c6185101efa072fd5845000fee2074b8b8 (diff) | |
| download | linux-090839ecff2b30fa87b73f5001cdb150673a4d4c.tar.gz linux-090839ecff2b30fa87b73f5001cdb150673a4d4c.zip | |
iio: dac: mcp4821: move state initialization outside switch
Move the iio_priv() call outside the switch statement in
mcp4821_read_raw() to avoid repeating it in multiple cases.
No functional change.
Signed-off-by: Nikhil Gautam <nikhilgtr@gmail.com>
Reviewed-by: David Lechner <dlechner@baylibre.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
