regmap: Provide __acquires/__releases annotations
authorFabio Estevam <fabio.estevam@freescale.com>
Tue, 16 Jul 2013 05:10:11 +0000 (02:10 -0300)
committerMark Brown <broonie@linaro.org>
Tue, 16 Jul 2013 10:17:43 +0000 (11:17 +0100)
commitb4519c71c45b31f5acd6db984c8830e52120323a
tree7f2f5f292c0ed457d1dee0506b79042bc8062639
parentad81f0545ef01ea651886dddac4bef6cec930092
regmap: Provide __acquires/__releases annotations

Fix the following sparse warnings:

drivers/base/regmap/regmap.c:305:13: warning: context imbalance in 'regmap_lock_spinlock' - wrong count at exit
drivers/base/regmap/regmap.c:314:13: warning: context imbalance in 'regmap_unlock_spinlock' - unexpected unlock

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/base/regmap/regmap.c