diff options
| author | Marc Ferland <marc.ferland@sonatest.com> | 2023-12-18 18:02:28 +0300 |
|---|---|---|
| committer | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2023-12-20 11:25:25 +0300 |
| commit | 75f0c1c78d709f258004562a540c83bc05bfb962 (patch) | |
| tree | 53a58292c4e1bc319ed4c257e570d89a95830f87 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 86626c06d651c72bc10c25f263e98fa90655b5ae (diff) | |
| download | linux-75f0c1c78d709f258004562a540c83bc05bfb962.tar.xz | |
w1: ds2433: introduce a configuration structure
Add a ds2433_config structure for parameters that are different
between the ds2433 and the ds28ec20. The goal is to reuse the same
code for both chips.
A pointer to this config structure is added to w1_f23_data and the
CONFIG_W1_SLAVE_DS2433_CRC ifdefs are adjusted since now both driver
configurations (with or without crc support) will make use of
w1_f23_data.
Also, the 'memory' buffer is now dynamically allocated based on the
size specififed in the config structure to help support memories of
different sizes.
Signed-off-by: Marc Ferland <marc.ferland@sonatest.com>
Link: https://lore.kernel.org/r/20231218150230.1992448-4-marc.ferland@sonatest.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
