]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iio: dac: ad7293: add dev variable
authorAntoniu Miclaus <antoniu.miclaus@analog.com>
Fri, 27 Feb 2026 14:01:38 +0000 (16:01 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 28 Feb 2026 11:35:23 +0000 (11:35 +0000)
commit70b9d4af16759ff606756fbd09bb5d167c4917fe
treeaee5ee36135c7b38efe7a2c8284096b3a47b49ab
parent3e1c0b9501c227f2e567b20386774acc19f26c1c
iio: dac: ad7293: add dev variable

Introduce a local struct device pointer in functions that reference
&spi->dev for device-managed resource calls and device property reads,
improving code readability.

Signed-off-by: Antoniu Miclaus <antoniu.miclaus@analog.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/dac/ad7293.c