diff options
author | Alexey Charkov <alchark@gmail.com> | 2025-05-06 16:46:18 +0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2025-05-06 15:58:27 +0200 |
commit | 99ad153fbd22fcf7c2bdd774d08fc4bf70029fa6 (patch) | |
tree | 603f1c5f98eb834d617015f5c32594da2f41f77f /scripts/generate_rust_analyzer.py | |
parent | 49f92d3859cdd8534a1cd15037f950c483a5de40 (diff) |
irqchip/irq-vt8500: Use fewer global variables and add error handling
Controller private data doesn't really need to be in a global
statically allocated array - kzalloc it per controller instead,
keeping only one pointer to the primary controller global.
While at that, also add proper error return statuses in the init
path and respective cleanup of resources on errors.
Signed-off-by: Alexey Charkov <alchark@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20250506-vt8500-intc-updates-v2-5-a3a0606cf92d@gmail.com
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions