]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iio: temperature: ltc2983: Use local device pointer consistently
authorLiviu Stan <liviu.stan@analog.com>
Mon, 25 May 2026 16:39:31 +0000 (19:39 +0300)
committerJonathan Cameron <jic23@kernel.org>
Sun, 31 May 2026 10:01:50 +0000 (11:01 +0100)
commit6b047d099703c9b4f6846dcb98e2e3ca7a0ff773
treed491d92279943ff7f03876e48947927270b06025
parent53f4fda3c0efa77bb239dc5e357ae80644fcb400
iio: temperature: ltc2983: Use local device pointer consistently

Some functions define a local 'dev' pointer but still use bare
'&st->spi->dev' in some code paths, and some don't have it at all.
Replace bare references with the local pointer for consistency and
collapse some wrapped lines that now fit within 80 characters.

Reviewed-by: Joshua Crofts <joshua.crofts1@gmail.com>
Signed-off-by: Liviu Stan <liviu.stan@analog.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/temperature/ltc2983.c