On Wed, Jun 27, 2018 at 01:52:55PM +0800, kipade wrote: > Hi, all > > As my question, would kernel destroy deivces struct if there were no matched > driver attached on it? No, only when the device is removed from the system does that structure get destroyed. greg k-h