mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
Merge remote-tracking branch 'regmap/topic/sparse' into regmap-next
This commit is contained in:
commit
365c9ee073
1 changed files with 2 additions and 0 deletions
|
@ -303,6 +303,7 @@ static void regmap_unlock_mutex(void *__map)
|
|||
}
|
||||
|
||||
static void regmap_lock_spinlock(void *__map)
|
||||
__acquires(&map->spinlock)
|
||||
{
|
||||
struct regmap *map = __map;
|
||||
unsigned long flags;
|
||||
|
@ -312,6 +313,7 @@ static void regmap_lock_spinlock(void *__map)
|
|||
}
|
||||
|
||||
static void regmap_unlock_spinlock(void *__map)
|
||||
__releases(&map->spinlock)
|
||||
{
|
||||
struct regmap *map = __map;
|
||||
spin_unlock_irqrestore(&map->spinlock, map->spinlock_flags);
|
||||
|
|
Loading…
Add table
Reference in a new issue