Re: [RFC V2] regmap: change bool to 1 bit variable in struct regmap

2015-10-08 Thread Mark Brown
On Thu, Oct 08, 2015 at 04:26:30PM +0800, yalin wang wrote: > This patch change some bool variables in struct regmap { } > to be u8 v : 1 type, so that we can shrink the sizeof of struct regmap. This doesn't apply against current code (my git for-next) - please check and resend. signature.asc D

[RFC V2] regmap: change bool to 1 bit variable in struct regmap

2015-10-08 Thread yalin wang
This patch change some bool variables in struct regmap { } to be u8 v : 1 type, so that we can shrink the sizeof of struct regmap. Signed-off-by: yalin wang --- drivers/base/regmap/internal.h | 21 ++--- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/drivers/bas