Messages in this thread | | | Date | Wed, 4 Nov 2020 11:04:58 +0000 | From | Lee Jones <> | Subject | Re: [PATCH 8/8] mfd: 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/88pm800.c | 2 +- > drivers/mfd/88pm860x-core.c | 50 +++++++++++++------------- > drivers/mfd/hi655x-pmic.c | 2 +- > drivers/mfd/intel_quark_i2c_gpio.c | 4 +-- > drivers/mfd/ioc3.c | 16 ++++----- > drivers/mfd/max8925-core.c | 56 +++++++++++++++--------------- > drivers/mfd/rdc321x-southbridge.c | 4 +-- > drivers/mfd/retu-mfd.c | 4 +-- > drivers/mfd/rk808.c | 8 ++--- > drivers/mfd/tc3589x.c | 4 +-- > drivers/mfd/tc6387xb.c | 2 +- > drivers/mfd/tc6393xb.c | 6 ++-- > drivers/mfd/tps65090.c | 2 +- > drivers/mfd/tps6586x.c | 2 +- > drivers/mfd/tps80031.c | 2 +- > 15 files changed, 82 insertions(+), 82 deletions(-)
Applied, thanks.
-- Lee Jones [李琼斯] Senior Technical Lead - Developer Services Linaro.org │ Open source software for Arm SoCs Follow Linaro: Facebook | Twitter | Blog
| |