summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>2025-12-21 15:26:03 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-12-31 17:59:26 +0000
commit48de61f6c135ec03d9a1d644411ea501f7d49dff (patch)
tree1ea8dd82a952301b7e5041d2355a1972f97c4e15 /tools/perf/scripts/python/export-to-postgresql.py
parentda1d3596b1e456b5d5d5f719bbf5ce562f4fe22d (diff)
downloadlinux-48de61f6c135ec03d9a1d644411ea501f7d49dff.tar.gz
linux-48de61f6c135ec03d9a1d644411ea501f7d49dff.zip
iio: adc: aspeed: Simplify probe() with local 'dev' and 'np'
Simplify the probe function by using local 'dev' and 'np' variables instead of full pointer dereferences. This makes several lines shorter, which allows to avoid wrapping making code more readable. While touching the return line, simplify by avoiding unnecessary 'ret' assignment. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions