From: Philipp Zabel Date: Wed, 24 Jul 2013 08:26:42 +0000 (+0200) Subject: regmap: irq: make flags bool and put them in a bitfield X-Git-Tag: next-20130731~29^2~3 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f484f7a6bc6f0f871627cc1f83f56077a5dc6e47;p=karo-tx-linux.git regmap: irq: make flags bool and put them in a bitfield This patch makes mask/wake_invert bool and puts all flags into a bitfield for consistency and to save some space. Signed-off-by: Philipp Zabel Signed-off-by: Mark Brown --- diff --git a/include/linux/regmap.h b/include/linux/regmap.h index 34ebe7778033..99b0f7cad75c 100644 --- a/include/linux/regmap.h +++ b/include/linux/regmap.h @@ -486,10 +486,10 @@ struct regmap_irq_chip { unsigned int ack_base; unsigned int wake_base; unsigned int irq_reg_stride; - bool init_ack_masked; - unsigned int mask_invert; - unsigned int wake_invert; - bool runtime_pm; + bool init_ack_masked:1; + bool mask_invert:1; + bool wake_invert:1; + bool runtime_pm:1; int num_regs;