Re: [PATCH 0/5] constify sdhci_pltfm_data and sdhci_ops structures

2017-08-08 Thread Ulf Hansson
On 7 August 2017 at 11:50, Julia Lawall wrote: > 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

[PATCH 0/5] constify sdhci_pltfm_data and sdhci_ops structures

2017-08-07 Thread Julia Lawall
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