]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: sc2731: Constify regulators
authorAxel Lin <axel.lin@ingics.com>
Mon, 25 Mar 2019 23:57:39 +0000 (07:57 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 26 Mar 2019 13:25:35 +0000 (13:25 +0000)
commit9921691aa8104a1f20a4603ba15c157cadc955b8
tree03f99220d5a48f0b6aee51139521c961625c83b6
parent702b8c9eae3412c1e2ea71651299a4cd88cad020
regulator: sc2731: Constify regulators

The regulators array should never need to be modified, make it const so
compiler can put it to .rodata.

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