]> git.baikalelectronics.ru Git - kernel.git/commit
component: move check for unbound master into try_to_bring_up_masters()
authorRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 23 Apr 2014 09:46:11 +0000 (10:46 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 7 Dec 2015 00:02:04 +0000 (00:02 +0000)
commit6a7769574063675722251007388ea272d60b2e2e
treedc329e21451e220b2e29357348d261d9d7a188fc
parentd6abb25971a154f090dfc98eca418cf0733256af
component: move check for unbound master into try_to_bring_up_masters()

Clean up the code a little; we don't need to check that the master is
unbound for every invocation of try_to_bring_up_master(), so let's move
it to where it's really needed - try_to_bring_up_masters(), where we may
encounter already bound masters.

Reviewed-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/base/component.c