diff options
| author | Marcelo Schmitt <marcelo.schmitt@analog.com> | 2023-12-19 23:27:36 +0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2023-12-26 18:41:11 +0300 |
| commit | ca1a679049c12a100f8a72ff7e9363d08851f4d8 (patch) | |
| tree | 3968b74cf7a67d75f2372adfde6cd667a47712d8 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 5b035ed0a5b4857f8e0dc1328dd66e930ea6eedc (diff) | |
| download | linux-ca1a679049c12a100f8a72ff7e9363d08851f4d8.tar.xz | |
iio: adc: ad7091r: Move chip init data to container struct
AD7091R designs may differ on their communication protocol and resources
required for proper setup. Extract what is design specific into a
init_info struct so the base driver can use data and callback functions
from that struct rather than checking which specific chip is connected
during device initialization.
Signed-off-by: Marcelo Schmitt <marcelo.schmitt@analog.com>
Link: https://lore.kernel.org/r/1aca2261e227474dc58ce26442845947bcde9b14.1703013352.git.marcelo.schmitt1@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
