-
由 Russell King - ARM Linux 提交于
1. Never ever publish a device in the system before it has been setup to a usable state. 2. Unregister the device _BEFORE_ taking away any resources it may be using. 3. Don't check clks against NULL. Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk> Tested-by: NSebastian Hesselbarth <sebastian.hesselbarth@gmail.com> Signed-off-by: NChris Ball <cjb@laptop.org>
ee3298a2