diff options
| author | Rodrigo Alencar <rodrigo.alencar@analog.com> | 2026-02-16 20:10:48 +0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2026-02-24 00:00:57 +0300 |
| commit | d9eece6f39c64b958e590686781e2aa16d7d6ae4 (patch) | |
| tree | d252bd79628b2491f94d20c171f886b6ae45b032 /include/linux | |
| parent | 5593bddbf9dd5d94ba6547cc01cb894825c2fac5 (diff) | |
| download | linux-d9eece6f39c64b958e590686781e2aa16d7d6ae4.tar.xz | |
iio: amplifiers: ad8366: add local dev pointer to the probe function
Create local device pointer in the probe function to shorten lines, making
the code easier to read. The local device pointer replaces &spi->dev and
will be reused across other probe function places in later patches.
Signed-off-by: Rodrigo Alencar <rodrigo.alencar@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
