Skip to content
Commit 336fb81b authored by Wang, Yalin's avatar Wang, Yalin Committed by Mark Brown
Browse files

regmap: change struct regmap's internal locks as union



this patch change struct regmap->mutex and struct regmap->spinlock
as an union, because these 2 members are only used one of them,
we change it to shrink the struct size.

Signed-off-by: default avatarYalin Wang <yalin.wang@sonymobile.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 9ba1e456
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment