OSDN Git Service

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)
commit705e2a905a0407c3fffb248b43c8d7d1de6b4e51
treeec3d5fa0a449ca7c1907e3427e51d37c31763110
parent7cdc2ee7bf10705f737c22dcd4b002b87849badb
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