regulator: ab3100: Constify regulator_ops and ab3100_regulator_desc
authorAxel Lin <axel.lin@ingics.com>
Thu, 2 May 2019 14:22:32 +0000 (22:22 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 3 May 2019 06:06:16 +0000 (15:06 +0900)
commit95602d7d77f502d656e648ab38f8e0586364e7dc
treea26f2abedefe39d5f52277950306d2d75b037268
parent0ae3b061df3037e887ee6085b0bedea7f8809441
regulator: ab3100: Constify regulator_ops and ab3100_regulator_desc

These regulator_ops variables and ab3100_regulator_desc array 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/ab3100.c