]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: rk808: Constify rk817 regulator_ops
authorAxel Lin <axel.lin@ingics.com>
Tue, 8 Oct 2019 01:06:26 +0000 (09:06 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 8 Oct 2019 10:45:01 +0000 (11:45 +0100)
commitd8df2a9d37947624494e8ec22257b44c3cd87548
tree21c47f4ea88a81919bebaff9fede527fa917986d
parent62640f05226d6af2c0ea3fcb20aa95b3a4affc9f
regulator: rk808: Constify rk817 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>
Link: https://lore.kernel.org/r/20191008010628.8513-1-axel.lin@ingics.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/rk808-regulator.c