]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd2710d9e0b9daf2ad3631ca35b156cd0c5047c3b
treea26f2abedefe39d5f52277950306d2d75b037268
parentd02d5524f0f2eff5cc456f5db0c69c3a6b58060a
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