summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorSubhash Rawat <rawatsubhash02@gmail.com>2026-03-03 18:32:36 +0000
committerLee Jones <lee@kernel.org>2026-03-25 12:45:15 +0000
commita2753f06e3e448023280189ca3ebd1b46d427263 (patch)
tree1daf328f1f016047ce4e34f2974591c9db6931cd /tools/lib/python
parent9abc081c94269738ba3d4a0ae09d55a544b3afa7 (diff)
mfd: dln2: Switch to managed resources and fix bare unsigned types
Convert dln2_probe and dln2_setup_rx_urbs to use devm_kzalloc() and devm_kmalloc() respectively. This simplifies resource management by allowing the removal of manual kfree() calls in dln2_free() and dln2_free_rx_urbs(). Additionally, update bare 'unsigned' types to 'unsigned int' to satisfy checkpatch.pl warnings and comply with the Linux kernel coding style. Signed-off-by: Subhash Rawat <rawatsubhash02@gmail.com> Link: https://patch.msgid.link/20260303183236.574940-1-rawatsubhash02@gmail.com Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions