OSDN Git Service

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)
commit883ce2421ed7fc1aaf94ff58d099e9a843345dfa
tree03f99220d5a48f0b6aee51139521c961625c83b6
parent5de219ccc1a7e1dab98848de53166e15af44bbff
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