diff options
| author | Johan Hovold <johan@kernel.org> | 2026-04-24 12:40:50 +0200 |
|---|---|---|
| committer | Ulf Hansson <ulfh@kernel.org> | 2026-06-03 11:08:24 +0200 |
| commit | a96e40f4afdcb52a9c97a5465c964e010734d105 (patch) | |
| tree | 33a9e6dcecd0b25839b428d17a1978b54efa3df3 /drivers/phy/eswin/git@git.tavy.me:linux.git | |
| parent | bb85d843e3aaa452ba7084e9695163cbede206da (diff) | |
pmdomain: core: 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.
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Ulf Hansson <ulfh@kernel.org>
Diffstat (limited to 'drivers/phy/eswin/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
