]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3801be05b19514a3d5e12ca37897fea696d38709
tree7f2f5f292c0ed457d1dee0506b79042bc8062639
parent07e109360660cc58aefd754a4369fe475b61e495
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