lkml.org 
[lkml]   [2020]   [Nov]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/8] mfd: intel: 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/intel_msic.c | 18 +++++++++---------
> drivers/mfd/intel_soc_pmic_bxtwc.c | 14 +++++++-------
> drivers/mfd/intel_soc_pmic_chtdc_ti.c | 10 +++++-----
> drivers/mfd/intel_soc_pmic_chtwc.c | 4 ++--
> drivers/mfd/intel_soc_pmic_crc.c | 10 +++++-----
> 5 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

\
 
 \ /
  Last update: 2020-11-04 11:57    [W:0.251 / U:0.428 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site