[PATCH 2/2] regmap: irq: document mask/wake_invert, make them bool for consistency
From: Philipp Zabel
Date: Mon Jul 22 2013 - 11:16:14 EST
Signed-off-by: Philipp Zabel <p.zabel@xxxxxxxxxxxxxx>
---
include/linux/regmap.h | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/include/linux/regmap.h b/include/linux/regmap.h
index 34ebe77..5a29fff 100644
--- a/include/linux/regmap.h
+++ b/include/linux/regmap.h
@@ -471,6 +471,8 @@ struct regmap_irq {
* @wake_base: Base address for wake enables. If zero unsupported.
* @irq_reg_stride: Stride to use for chips where registers are not contiguous.
* @init_ack_masked: Ack all masked interrupts once during initalization.
+ * @mask_invert: Inverted mask register: cleared bits are masked out.
+ * @wake_invert: Inverted wake register: cleared bits are wake enabled.
* @runtime_pm: Hold a runtime PM lock on the device when accessing it.
*
* @num_regs: Number of registers in each control bank.
@@ -487,8 +489,8 @@ struct regmap_irq_chip {
unsigned int wake_base;
unsigned int irq_reg_stride;
bool init_ack_masked;
- unsigned int mask_invert;
- unsigned int wake_invert;
+ bool mask_invert;
+ bool wake_invert;
bool runtime_pm;
int num_regs;
--
1.8.3.2
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/