diff options
| author | 2026-04-24 12:32:11 +0200 | |
|---|---|---|
| committer | 2026-04-28 17:18:52 +0200 | |
| commit | b8425ceefee5df2b8490fa70a07e4e402c752492 (patch) | |
| tree | 5f97824e0fd57f60c80e12cbc52a9d441dccd604 /tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com | |
| parent | Revert "parisc: led: fix reference leak on failed device registration" (diff) | |
parisc: drivers: switch to dynamic root device
Driver core expects devices to be dynamically allocated and will, for
example, complain loudly if a device that lacks a release function
is ever freed.
Use root_device_register() to allocate and register the root device
instead of open coding using a static device.
While at it, drop the redundant additional reference taken at init.
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
