dyn_hotplug: rework