mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
staging:iio:adc:ad7280a: Use a local dev pointer to avoid &spi->dev
We use this a few times already and it is about to get worse, so introduce a local variable to simplify things. Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Reviewed-by: Marcelo Schmitt <marcelo.schmitt1@gmail.com> Link: https://lore.kernel.org/r/20220206190328.333093-14-jic23@kernel.org
This commit is contained in:
parent
9010ac1c71
commit
dfa258c066
1 changed files with 5 additions and 4 deletions
Loading…
Add table
Add a link
Reference in a new issue