diff options
-rw-r--r-- | drivers/base/regmap/regmap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/base/regmap/regmap.c b/drivers/base/regmap/regmap.c index aaf4e1372980..7d689a15c500 100644 --- a/drivers/base/regmap/regmap.c +++ b/drivers/base/regmap/regmap.c | |||
@@ -303,6 +303,7 @@ static void regmap_unlock_mutex(void *__map) | |||
303 | } | 303 | } |
304 | 304 | ||
305 | static void regmap_lock_spinlock(void *__map) | 305 | static void regmap_lock_spinlock(void *__map) |
306 | __acquires(&map->spinlock) | ||
306 | { | 307 | { |
307 | struct regmap *map = __map; | 308 | struct regmap *map = __map; |
308 | unsigned long flags; | 309 | unsigned long flags; |
@@ -312,6 +313,7 @@ static void regmap_lock_spinlock(void *__map) | |||
312 | } | 313 | } |
313 | 314 | ||
314 | static void regmap_unlock_spinlock(void *__map) | 315 | static void regmap_unlock_spinlock(void *__map) |
316 | __releases(&map->spinlock) | ||
315 | { | 317 | { |
316 | struct regmap *map = __map; | 318 | struct regmap *map = __map; |
317 | spin_unlock_irqrestore(&map->spinlock, map->spinlock_flags); | 319 | spin_unlock_irqrestore(&map->spinlock, map->spinlock_flags); |