Messages in this thread | | | Date | Wed, 4 Nov 2020 10:57:44 +0000 | From | Lee Jones <> | Subject | Re: [PATCH 4/8] mfd: wm: Constify static struct resource |
| |
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. > > Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com> > --- > drivers/mfd/wm831x-core.c | 52 +++++++++++++++++++-------------------- > drivers/mfd/wm8994-core.c | 4 +-- > 2 files changed, 28 insertions(+), 28 deletions(-)
Applied, thanks.
-- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog
| |