]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iio: frequency: adf4377: add dev variable
authorAntoniu Miclaus <antoniu.miclaus@analog.com>
Fri, 27 Feb 2026 14:01:36 +0000 (16:01 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 28 Feb 2026 11:35:17 +0000 (11:35 +0000)
commitb2d2a6ea12a1a47fbab515b2a1290384ecc7fef7
tree2d4a2bc4e5abe1f41b31f5b1866190df2fa15a5f
parent9e9f38c44b2ed86c9a2a7583b9b88d8eec4b7793
iio: frequency: adf4377: 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/frequency/adf4377.c