]> 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)
commitd14bfff523b58386c4ddbf0e627b0ba23f4a6335
treeec3d5fa0a449ca7c1907e3427e51d37c31763110
parent0f2708caa5ce68108c8965adbb8eee5d50d55440
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