diff options
author | Uwe Kleine-König <u.kleine-koenig@baylibre.com> | 2025-03-04 10:41:09 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-03-11 19:09:16 +0000 |
commit | ecd5b508c10b1e4c6b5196ee7064e4d014044d0f (patch) | |
tree | e58f2f240a1513fb5ca6ac995dde915febe7916b /tools/perf/scripts/python/export-to-sqlite.py | |
parent | df1f2e1470fa52d89288758283db46a47efcf3c2 (diff) |
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 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions