]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: gpio: Constify regulator_ops
authorAxel Lin <axel.lin@ingics.com>
Fri, 8 Mar 2019 06:15:29 +0000 (14:15 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 13 Mar 2019 15:09:44 +0000 (15:09 +0000)
commit59f87c82ae09df44e71300847052b9a8e284b813
treeec3d5fa0a449ca7c1907e3427e51d37c31763110
parent2b8496c4e736cd72a56417abafea8f66012db66f
regulator: gpio: Constify regulator_ops

gpio_regulator_voltage_ops and gpio_regulator_current_ops should never
change, make them const.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/gpio-regulator.c