From: Wang, Yalin Date: Thu, 11 Sep 2014 08:19:49 +0000 (+0800) Subject: regmap: change struct regmap's internal locks as union X-Git-Tag: fixes-for-v3.18-merge-window~32^2~2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=336fb81b319ec4d5c09aa6417de7c042cfcd7461;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed