summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/parallel-perf.py
diff options
context:
space:
mode:
authorMatti Vaittinen <mazziesaccount@gmail.com>2025-03-03 14:33:21 +0300
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-03-11 22:09:17 +0300
commit8d534275f7400d490d16ed81d08f5ae6bda09c04 (patch)
tree2df5d7652438613ed4683efc5ea822c7318b5114 /tools/perf/scripts/python/parallel-perf.py
parentcc26591e7942f1beb04f3fa6309cb6ee3de1e1b1 (diff)
downloadlinux-8d534275f7400d490d16ed81d08f5ae6bda09c04.tar.xz
iio: adc: ti-ads7924 Drop unnecessary function parameters
Device pointer is the only variable which is used by the ads7924_get_channels_config() and which is declared outside this function. Still, the function gets the iio_device and i2c_client as parameters. The sole caller of this function (probe) already has the device pointer which it can directly pass to the function. Simplify code by passing the device pointer directly as a parameter instead of digging it from the iio_device's private data. Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com> Link: https://patch.msgid.link/2bb4c61122eca2f3a35f6087e7d9815675013f66.1740993491.git.mazziesaccount@gmail.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions