Re: [PATCH] mfd: constify regmap_irq_chip structures

2017-02-07 Thread Lee Jones
On Wed, 25 Jan 2017, Bhumika Goyal wrote: > Declare regmap_irq_chip structures as const as they are only stored > in the regmap_irq_chip field of a rk808 structure. This field is of > type const, so regmap_irq_chip structures having this property can be > made const too. > Done using Coccinelle: >

[PATCH] mfd: constify regmap_irq_chip structures

2017-01-24 Thread Bhumika Goyal
Declare regmap_irq_chip structures as const as they are only stored in the regmap_irq_chip field of a rk808 structure. This field is of type const, so regmap_irq_chip structures having this property can be made const too. Done using Coccinelle: @r disable optional_qualifier@ identifier x; position