summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2026-04-24 13:32:11 +0300
committerHelge Deller <deller@gmx.de>2026-04-28 18:18:52 +0300
commitb8425ceefee5df2b8490fa70a07e4e402c752492 (patch)
tree5f97824e0fd57f60c80e12cbc52a9d441dccd604 /include/linux
parent8135b89a376ab2c20db3921c9c38cf83994b1f1c (diff)
downloadlinux-b8425ceefee5df2b8490fa70a07e4e402c752492.tar.xz
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 'include/linux')
0 files changed, 0 insertions, 0 deletions