diff options
author | 2025-03-04 10:41:09 +0100 | |
---|---|---|
committer | 2025-03-11 19:09:16 +0000 | |
commit | ecd5b508c10b1e4c6b5196ee7064e4d014044d0f (patch) | |
tree | e58f2f240a1513fb5ca6ac995dde915febe7916b /scripts/lib/kdoc/kdoc_parser.py | |
parent | iio: adc: ad7124: Implement system calibration (diff) | |
download | wireguard-linux-ecd5b508c10b1e4c6b5196ee7064e4d014044d0f.tar.xz wireguard-linux-ecd5b508c10b1e4c6b5196ee7064e4d014044d0f.zip |
iio: adc: ad7124: Benefit of dev = indio_dev->dev.parent in ad7124_parse_channel_config()
Since commit a6eaf02b8274 ("iio: adc: ad7124: Switch from of specific to
fwnode based property handling") the function
ad7124_parse_channel_config() has a parameter `dev` that holds
the value `indio_dev->dev.parent`. Make use of that to shorten two code
lines.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Link: https://patch.msgid.link/v7l2skqj65vbku3ebjsfndfj3atl6iqpodamios2do6q6kcagf@whmuir6fwede
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions