]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: twl: Constify regulator_ops
authorAxel Lin <axel.lin@ingics.com>
Tue, 2 Apr 2019 23:41:54 +0000 (07:41 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 3 Apr 2019 04:10:46 +0000 (11:10 +0700)
commite0b1c30695fdf88e8197d3bcf8bba19be2822a06
treea526f0c8089c0dcc66691f4b09d0b1d54e3cd1a9
parentb1d0955ca74978b0394bdca5a73ef1edd491e701
regulator: twl: 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/twl-regulator.c