regulator: cros-ec: Constify cros_ec_regulator_voltage_ops
authorRikard Falkeborn <rikard.falkeborn@gmail.com>
Sat, 11 Jul 2020 11:44:09 +0000 (13:44 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 13 Jul 2020 17:08:41 +0000 (18:08 +0100)
commit308e65ad060dca2f0187731a7916c71521ce6c25
tree6742ff420fc9ead8110b7f015b1350228689bb4a
parenta7c15187b391d7fe9903903475a94e5cd5b796d6
regulator: cros-ec: Constify cros_ec_regulator_voltage_ops

It is never modified, so make it const to allow the compiler to put it
in read-only memory.

Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Acked-by: Pi-Hsun Shih <pihsun@chromium.org>
Link: https://lore.kernel.org/r/20200711114409.9911-1-rikard.falkeborn@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/cros-ec-regulator.c