]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iio: adc: ad7780: add dev variable
authorAntoniu Miclaus <antoniu.miclaus@analog.com>
Mon, 30 Mar 2026 11:18:45 +0000 (14:18 +0300)
committerJonathan Cameron <jic23@kernel.org>
Mon, 27 Apr 2026 08:58:17 +0000 (09:58 +0100)
commitbca122aff0a3d4bc1e5725e6a5c52e82c323a840
treec82bb15b5fbab2f7166204e1398565a7236cfc01
parentb9b7a64576b80020b99452f32cae5639403d4198
iio: adc: ad7780: add dev variable

Add a local struct device pointer to simplify repeated &spi->dev
dereferences throughout the probe function.

Signed-off-by: Antoniu Miclaus <antoniu.miclaus@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ad7780.c