diff options
| author | Danilo Krummrich <dakr@kernel.org> | 2026-02-03 00:48:15 +0100 |
|---|---|---|
| committer | Danilo Krummrich <dakr@kernel.org> | 2026-03-17 21:23:02 +0100 |
| commit | 4796dfd7e0e845de5e76b1748d3c022d350f1b57 (patch) | |
| tree | 7426cf731410b71f7cd41a7becb7c3bf4dcfac64 /arch/v850/kernel/git@git.tavy.me:linux.git | |
| parent | f813ec9e84b4d0ca81ec1da94ab07bfb4a29266c (diff) | |
devres: add devres_node_add()
Both devres_add() and devres_open_group() acquire the devres_lock and
call add_dr(). Add a helper, devres_node_add(), for this pattern.
Use guard(spinlock_irqsave) to avoid the explicit unlock call and local
flag variables.
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://patch.msgid.link/20260202235210.55176-3-dakr@kernel.org
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Diffstat (limited to 'arch/v850/kernel/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
