base/devres.c: quiet sparse noise about context imbalance
commit86ec67fd0a28c7f2b765e33aaf5b002d28c5f1fa
authorH Hartley Sweeten <hartleys@visionengravers.com>
Fri, 12 Aug 2011 21:58:31 +0000 (12 14:58 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 22 Aug 2011 21:12:24 +0000 (22 14:12 -0700)
treea77653b6c617d73a26efabd98fb0551201a3a94f
parent8ea95e08711f504d83281e762ca65a849a89593e
base/devres.c: quiet sparse noise about context imbalance

devres_release_all and devres_release_group both aquire the lock
&dev->devres_lock but the release of that lock is done in release_nodes.
This results in sparse noise about context imbalance.

Add a lock annotation to release_nodes to quiet this noise.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/devres.c