diff options
author | Marc Ferland <[email protected]> | 2023-12-18 10:02:28 -0500 |
---|---|---|
committer | Krzysztof Kozlowski <[email protected]> | 2023-12-20 09:25:25 +0100 |
commit | 75f0c1c78d709f258004562a540c83bc05bfb962 (patch) | |
tree | 53a58292c4e1bc319ed4c257e570d89a95830f87 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 86626c06d651c72bc10c25f263e98fa90655b5ae (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions