ARM: sa1111: cleanup sub-device registration and unregistration
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 29 Jan 2012 10:20:00 +0000 (10:20 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 24 Mar 2012 11:30:12 +0000 (11:30 +0000)
Move the releasing of resources out of the release function - this
allows a cleaner and more conventional arrangement of the registration
failure paths and a saner unregistration process for these devices.

Acked-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

No differences found