Re: [PATCH 4/8] mfd: wm: Constify static struct resource

2020-11-04 Thread Lee Jones
On Tue, 22 Sep 2020, Rikard Falkeborn wrote: > Constify a number of static struct resource. The only usage of the > structs are to assign their address to the resources field in the > mfd_cell struct. This allows the compiler to put them in read-only > memory. Done with the help of Coccinelle. >

Re: [PATCH 4/8] mfd: wm: Constify static struct resource

2020-09-24 Thread Charles Keepax
On Tue, Sep 22, 2020 at 09:26:55PM +0200, Rikard Falkeborn wrote: > Constify a number of static struct resource. The only usage of the > structs are to assign their address to the resources field in the > mfd_cell struct. This allows the compiler to put them in read-only > memory. Done with the

[PATCH 4/8] mfd: wm: Constify static struct resource

2020-09-22 Thread Rikard Falkeborn
Constify a number of static struct resource. The only usage of the structs are to assign their address to the resources field in the mfd_cell struct. This allows the compiler to put them in read-only memory. Done with the help of Coccinelle. Signed-off-by: Rikard Falkeborn ---