]> 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)
commit7a5fa3ec8d790adcca04c15cefde9fa4e26481fb
tree8291f33fc2a56e242961465ada12059091121c35
parent3428860e852166755789ded8642e54a89b025663
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