mfd: Constify static struct resources
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> Signed-off-by:
Lee Jones <lee.jones@linaro.org>
Showing
- drivers/mfd/88pm800.c 1 addition, 1 deletiondrivers/mfd/88pm800.c
- drivers/mfd/88pm860x-core.c 25 additions, 25 deletionsdrivers/mfd/88pm860x-core.c
- drivers/mfd/hi655x-pmic.c 1 addition, 1 deletiondrivers/mfd/hi655x-pmic.c
- drivers/mfd/intel_quark_i2c_gpio.c 2 additions, 2 deletionsdrivers/mfd/intel_quark_i2c_gpio.c
- drivers/mfd/ioc3.c 8 additions, 8 deletionsdrivers/mfd/ioc3.c
- drivers/mfd/max8925-core.c 28 additions, 28 deletionsdrivers/mfd/max8925-core.c
- drivers/mfd/rdc321x-southbridge.c 2 additions, 2 deletionsdrivers/mfd/rdc321x-southbridge.c
- drivers/mfd/retu-mfd.c 2 additions, 2 deletionsdrivers/mfd/retu-mfd.c
- drivers/mfd/rk808.c 4 additions, 4 deletionsdrivers/mfd/rk808.c
- drivers/mfd/tc3589x.c 2 additions, 2 deletionsdrivers/mfd/tc3589x.c
- drivers/mfd/tc6387xb.c 1 addition, 1 deletiondrivers/mfd/tc6387xb.c
- drivers/mfd/tc6393xb.c 3 additions, 3 deletionsdrivers/mfd/tc6393xb.c
- drivers/mfd/tps65090.c 1 addition, 1 deletiondrivers/mfd/tps65090.c
- drivers/mfd/tps6586x.c 1 addition, 1 deletiondrivers/mfd/tps6586x.c
- drivers/mfd/tps80031.c 1 addition, 1 deletiondrivers/mfd/tps80031.c
Loading
Please register or sign in to comment