mmc: omap_hsmmc: constify dev_pm_ops structures
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Thu, 29 Jun 2017 08:09:29 +0000 (13:39 +0530)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 30 Aug 2017 12:01:20 +0000 (14:01 +0200)
commit6bba406445e6be29a736304f7dd2773665ef6d34
treede1f0c93c5ce778f7abd8543899c3a3d5ba78529
parent7f55eb101d4a751347a0f7d8c6addcdbc513cfda
mmc: omap_hsmmc: constify dev_pm_ops structures

dev_pm_ops are not supposed to change at runtime. All functions
working with dev_pm_ops provided by <linux/device.h> work with const
dev_pm_ops. So mark the non-const structs as const.

File size before:
   text    data     bss     dec     hex filename
  11586     624       0   12210    2fb2 drivers/mmc/host/omap_hsmmc.o

File size After adding 'const':
   text    data     bss     dec     hex filename
  11778     432       0   12210    2fb2 drivers/mmc/host/omap_hsmmc.o

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/omap_hsmmc.c