diff options
| author | Krzysztof Kozlowski <[email protected]> | 2024-06-06 16:26:50 +0200 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2024-06-13 19:19:24 +0100 |
| commit | bf977499c10667deb38f85dd4d0f287b0133ab54 (patch) | |
| tree | 2cbb6dbcfedef75a6b7c5c0c2a22e587c13265cf /tools/perf/scripts/python/bin | |
| parent | 2ac3ce8afd5f2d3bc0271e76e4d005d62594090e (diff) | |
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 <[email protected]>
Reviewed-by: Nuno Sa <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions