Re: [PATCH] regmap:change struct regmap's internal locks as union

2014-09-13 Thread Mark Brown
On Thu, Sep 11, 2014 at 04:19:49PM +0800, Wang, Yalin wrote: > 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. Applied, thanks. signature.asc Description: Digital signat

[PATCH] regmap:change struct regmap's internal locks as union

2014-09-11 Thread Wang, Yalin
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 --- drivers/base/regmap/internal.h | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) dif