summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorWaqar Hameed <waqar.hameed@axis.com>2026-01-23 09:55:43 +0100
committerSebastian Reichel <sebastian.reichel@collabora.com>2026-01-30 20:57:32 +0100
commit72db889394d89ffde61e7438f0cdfc0135c9da48 (patch)
treefe441cc0f637058ff9e69b4e346e24d3bbc9a6fb /tools/lib/python
parent23067259919663580c6f81801847cfc7bd54fd1f (diff)
power: supply: wm97xx: Use devm_kcalloc()
Instead of handling the memory allocation manually, use the automatic `devres` variant `devm_kcalloc()`. This is less error prone and eliminates the `goto`-path. Signed-off-by: Waqar Hameed <waqar.hameed@axis.com> Link: https://patch.msgid.link/5ac93f5b0fa417bb5d9e93b9302a18f2c04d4077.1769158280.git.waqar.hameed@axis.com Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions