Skip to content
Commit eac8dbf7 authored by Russell King's avatar Russell King
Browse files

ARM: sa1111: ensure we only touch RAB bus type devices when removing



When removing a SA1111 device, we try to remove all child devices.
However, we must only remove our own RAB bus typed devices from the
tree, there may be other devices present which should not be touched.

This is necessary before we introduce gpiochip to SA1111 to avoid
incorrectly trying to remove the gpiochip device, leading to an oops
in __release_resource().

Signed-off-by: default avatarRussell King <rmk+kernel@armlinux.org.uk>
parent 3be79886
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment