i2c: omap: constify dev_pm_ops structures
authorBhumika Goyal <bhumirks@gmail.com>
Sun, 15 Jan 2017 09:59:41 +0000 (15:29 +0530)
committerWolfram Sang <wsa@the-dreams.de>
Wed, 25 Jan 2017 21:17:24 +0000 (22:17 +0100)
commit50b918c5a6ffad1d9fae29c4fdcb52383b123665
tree7524a7ec32f999c1b47e3a6a6f981d1add3273e8
parenta4f64ae2b5434fe1f3e8dc157dc5260628b0f582
i2c: omap: constify dev_pm_ops structures

Declare dev_pm_ops structures as const as they are only stored in the pm
field of a device_driver structure. This field is of type const, so
dev_pm_ops structures having similar properties can be declared const
too.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-omap.c