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.falkeb...@gmail.com>
> ---
>  drivers/mfd/da9055-core.c |  8 ++++----
>  drivers/mfd/da9062-core.c | 24 ++++++++++++------------
>  drivers/mfd/da9063-core.c |  8 ++++----
>  drivers/mfd/da9150-core.c |  6 +++---
>  4 files changed, 23 insertions(+), 23 deletions(-)

Applied, thanks.

-- 
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog

Reply via email to