]> git.ipfire.org Git - thirdparty/linux.git/commit
iio: adc: ad7292: add dev variable
authorAntoniu Miclaus <antoniu.miclaus@analog.com>
Mon, 30 Mar 2026 11:18:49 +0000 (14:18 +0300)
committerJonathan Cameron <jic23@kernel.org>
Mon, 27 Apr 2026 08:58:18 +0000 (09:58 +0100)
commit655c5e04e1aba4895525095863ac786ff51bd906
tree5ed74cf19d1e05021c36230131c6e2abd8e5fe45
parentd145e05835bf853a00d28f4109b8883e5a3c67c9
iio: adc: ad7292: 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/ad7292.c