lkml.org 
[lkml]   [2017]   [Aug]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/5] constify sdhci_pltfm_data and sdhci_ops structures
Date
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(-)

\
 
 \ /
  Last update: 2017-08-07 12:16    [W:0.097 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site