]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: max8998: Constify regulator_ops
authorAxel Lin <axel.lin@ingics.com>
Sun, 14 Apr 2019 12:48:17 +0000 (20:48 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 15 Apr 2019 08:44:58 +0000 (09:44 +0100)
commit6176ce2e6bb4472bf654ae20adc93a1ddfbafc2b
tree8291f33fc2a56e242961465ada12059091121c35
parent3b94fc62a360a46163dfec868658729f5d9867d3
regulator: max8998: Constify regulator_ops

These regulator_ops variables never need to be modified, make them const so
compiler can put them to .rodata.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/max8998.c