Re: [PATCH] mmc: host: omap_hsmmc: constify dev_pm_ops structures.

2017-07-11 Thread Ulf Hansson
On 29 June 2017 at 10:09, Arvind Yadav wrote: > dev_pm_ops are not supposed to change at runtime. All functions > working with dev_pm_ops provided by work with const > dev_pm_ops. So mark the non-const structs as const. > > File size before: >textdata bss dec hex filename >

[PATCH] mmc: host: omap_hsmmc: constify dev_pm_ops structures.

2017-06-29 Thread Arvind Yadav
dev_pm_ops are not supposed to change at runtime. All functions working with dev_pm_ops provided by work with const dev_pm_ops. So mark the non-const structs as const. File size before: textdata bss dec hex filename 11586 624 0 122102fb2 drivers/mmc/host/omap_