summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2023-01-02 19:34:48 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2023-01-08 12:12:10 +0000
commitd5f0da0c6972199a39d692309d9e0e09c57a3844 (patch)
tree0f0ba9266422cc1263e45a0b5a3e3c8388330241 /tools/perf/scripts/python
parentb7b81d1c65bffb759c68d04b5e5450cf4e301f62 (diff)
iio: adc: ti-adc128s052: Switch to use spi_get_device_match_data()
The spi_get_device_match_data() helps to get driver data from the firmware node or SPI ID table. Use it instead of open coding. While at it, switch ID tables to provide an acrual pointers to the configuration data. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20230102173450.29882-2-andriy.shevchenko@linux.intel.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions