OSDN Git Service

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)
commit401861f51a470ef9b21c949b3c86aa525bd5e7dc
treea526f0c8089c0dcc66691f4b09d0b1d54e3cd1a9
parent55c083d89634d3325f9d9e0d20459c308a575620
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