]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd1f67bd2f8b6fb6c3a3de3f76ee21ffd54b5957f
treee71b578f6c97bd5c35916adfc4e60c82ed2fea43
parent236753a2f85e6d2ff581b783187e2fa2feb114c1
ARM: sa1111: cleanup sub-device registration and unregistration

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>
arch/arm/common/sa1111.c