regulator: ltc3589: constify regulator_ops structure
authorBhumika Goyal <bhumirks@gmail.com>
Sat, 28 Jan 2017 14:13:54 +0000 (19:43 +0530)
committerMark Brown <broonie@kernel.org>
Tue, 31 Jan 2017 20:47:07 +0000 (20:47 +0000)
commitc093c3a3db9d200461f3db52aadb611c87df357d
treeda8a4dbd14b22d24b1ec3ea3bee4915262d93c5c
parentd42797a416ff8c43cbf1366bc774a90870fb7cab
regulator: ltc3589: constify regulator_ops structure

Declare regulator_ops structure as const as it is only stored in the ops
field of a regulator_desc structure. This field is of type const, so
regulator_ops structures having this property can be made const too.

File size before: drivers/regulator/ltc3589.o
   text    data     bss     dec     hex filename
   2564    3312     288    6164    1814 drivers/regulator/ltc3589.o

File size after: drivers/regulator/ltc3589.o
   text    data     bss     dec     hex filename
   3604    2544       8    6156    180c drivers/regulator/ltc3589.o

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/ltc3589.c