[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1502099444-10473-1-git-send-email-Julia.Lawall@lip6.fr>
Date: Mon, 7 Aug 2017 11:50:39 +0200
From: Julia Lawall <Julia.Lawall@...6.fr>
To: unlisted-recipients:; (no To-header on input)
Cc: bhumirks@...il.com, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-mmc@...r.kernel.org,
Ulf Hansson <ulf.hansson@...aro.org>,
Adrian Hunter <adrian.hunter@...el.com>,
linux-arm-kernel@...ts.infradead.org,
bcm-kernel-feedback-list@...adcom.com
Subject: [PATCH 0/5] constify sdhci_pltfm_data and sdhci_ops structures
The sdhci_pltfm_data structures are only passed as the second
argument of sdhci_pltfm_init, which is const, while the sdhci_ops
structures are only stored in the ops field of a sdhci_pltfm_data
structure, which is also const. Thus both kinds of structures can
be const as well.
Done with the help of Coccinelle.
---
drivers/mmc/host/sdhci-bcm-kona.c | 4 ++--
drivers/mmc/host/sdhci-brcmstb.c | 2 +-
drivers/mmc/host/sdhci-of-arasan.c | 4 ++--
drivers/mmc/host/sdhci-pic32.c | 2 +-
drivers/mmc/host/sdhci-pxav3.c | 2 +-
drivers/mmc/host/sdhci-sirf.c | 4 ++--
6 files changed, 9 insertions(+), 9 deletions(-)
Powered by blists - more mailing lists