File tree Expand file tree Collapse file tree 2 files changed +0
-18
lines changed Expand file tree Collapse file tree 2 files changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -878,20 +878,6 @@ int regmap_add_irq_chip_fwnode(struct fwnode_handle *fwnode,
878
878
*/
879
879
dev_warn (map -> dev , "mask_base and unmask_base are inverted, please fix it" );
880
880
881
- /* Might as well warn about mask_invert while we're at it... */
882
- if (chip -> mask_invert )
883
- dev_warn (map -> dev , "mask_invert=true ignored" );
884
-
885
- d -> mask_base = chip -> unmask_base ;
886
- d -> unmask_base = chip -> mask_base ;
887
- } else if (chip -> mask_invert ) {
888
- /*
889
- * Swap the roles of mask_base and unmask_base if the bits are
890
- * inverted. This is deprecated, drivers should use unmask_base
891
- * directly.
892
- */
893
- dev_warn (map -> dev , "mask_invert=true is deprecated; please switch to unmask_base" );
894
-
895
881
d -> mask_base = chip -> unmask_base ;
896
882
d -> unmask_base = chip -> mask_base ;
897
883
} else {
Original file line number Diff line number Diff line change @@ -1540,9 +1540,6 @@ struct regmap_irq_chip_data;
1540
1540
* @config_base: Base address for IRQ type config regs. If null unsupported.
1541
1541
* @irq_reg_stride: Stride to use for chips where registers are not contiguous.
1542
1542
* @init_ack_masked: Ack all masked interrupts once during initalization.
1543
- * @mask_invert: Inverted mask register: cleared bits are masked out.
1544
- * Deprecated; prefer describing an inverted mask register as
1545
- * an unmask register.
1546
1543
* @mask_unmask_non_inverted: Controls mask bit inversion for chips that set
1547
1544
* both @mask_base and @unmask_base. If false, mask and unmask bits are
1548
1545
* inverted (which is deprecated behavior); if true, bits will not be
@@ -1624,7 +1621,6 @@ struct regmap_irq_chip {
1624
1621
const unsigned int * config_base ;
1625
1622
unsigned int irq_reg_stride ;
1626
1623
unsigned int init_ack_masked :1 ;
1627
- unsigned int mask_invert :1 ;
1628
1624
unsigned int mask_unmask_non_inverted :1 ;
1629
1625
unsigned int use_ack :1 ;
1630
1626
unsigned int ack_invert :1 ;
You can’t perform that action at this time.
0 commit comments