regmap: change struct regmap's internal locks as union
authorWang, Yalin <Yalin.Wang@sonymobile.com>
Thu, 11 Sep 2014 08:19:49 +0000 (16:19 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 12 Sep 2014 13:57:26 +0000 (14:57 +0100)
commit336fb81b319ec4d5c09aa6417de7c042cfcd7461
tree7b1e75a60878d8f2d9ac3a6de329eda643795832
parent9ba1e456e1fa3729fc6be73403a7b2083f9590eb
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: Yalin Wang <yalin.wang@sonymobile.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/base/regmap/internal.h
This page took 0.024422 seconds and 5 git commands to generate.