aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2024-06-06 16:26:50 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-06-13 19:19:24 +0100
commitbf977499c10667deb38f85dd4d0f287b0133ab54 (patch)
tree2cbb6dbcfedef75a6b7c5c0c2a22e587c13265cf /tools/perf/scripts/python
parentiio: dac: max5522: simplify with spi_get_device_match_data() (diff)
downloadlinux-bf977499c10667deb38f85dd4d0f287b0133ab54.tar.gz
linux-bf977499c10667deb38f85dd4d0f287b0133ab54.zip
iio: adc: mcp3564: drop redundant open-coded spi_get_device_match_data()
The driver calls spi_get_device_match_data() and on its failure calls again parts of it: spi_get_device_id() and getting driver data. This is entirely redundant, because it is part of spi_get_device_match_data(). Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Nuno Sa <nuno.sa@analog.com> Link: https://lore.kernel.org/r/20240606-spi-match-data-v1-8-320b291ee1fe@linaro.org Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions