]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drivers/base: fix devres handling for master device
authorRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 7 Feb 2014 20:09:27 +0000 (20:09 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 8 Feb 2014 00:45:14 +0000 (16:45 -0800)
commit9e1ccb4a7700fcb3ddfe2767e0bbb6131f8ab54e
treeb5036e6e0cff4f4264f02ca6991b342ed71cc4fe
parentda9846ae15186d491d6e21ebbb5051e1d3c7f652
drivers/base: fix devres handling for master device

We weren't handling the devres issues for the master device failing a
bind, or being unbound properly.  Add a devres group to contain these,
and release the resources at the appropriate points.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/component.c