aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib/dump_stack.c
diff options
context:
space:
mode:
authorMarc Ferland <marc.ferland@sonatest.com>2023-12-18 10:02:28 -0500
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2023-12-20 09:25:25 +0100
commit75f0c1c78d709f258004562a540c83bc05bfb962 (patch)
tree53a58292c4e1bc319ed4c257e570d89a95830f87 /lib/dump_stack.c
parentw1: ds2433: remove unused definitions (diff)
downloadwireguard-linux-75f0c1c78d709f258004562a540c83bc05bfb962.tar.xz
wireguard-linux-75f0c1c78d709f258004562a540c83bc05bfb962.zip
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 'lib/dump_stack.c')
0 files changed, 0 insertions, 0 deletions