summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorRodrigo Alencar <rodrigo.alencar@analog.com>2026-02-16 20:10:48 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2026-02-24 00:00:57 +0300
commitd9eece6f39c64b958e590686781e2aa16d7d6ae4 (patch)
treed252bd79628b2491f94d20c171f886b6ae45b032 /include/linux
parent5593bddbf9dd5d94ba6547cc01cb894825c2fac5 (diff)
downloadlinux-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