Skip to content
Commit 971ba8cc authored by Julien Thierry's avatar Julien Thierry Committed by Will Deacon
Browse files

ioport: unregister port device when unregistering port



Ioport register bus devices when they registered. These devices are not
unregistered when the ioports entries containing their headers are
unregistered. This results in dangling pointers in the device rb_tree.

Unregister ioport bus devices when the ioport is unregistered.

Signed-off-by: default avatarJulien Thierry <julien.thierry@arm.com>
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
parent dc4291ba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment