Re: [PATCH] regulator: cros-ec: Constify cros_ec_regulator_voltage_ops

2020-07-13 Thread Mark Brown
On Sat, 11 Jul 2020 13:44:09 +0200, Rikard Falkeborn wrote: > It is never modified, so make it const to allow the compiler to put it > in read-only memory. Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next Thanks! [1/1] regulator: cros-ec: Constify

Re: [PATCH] regulator: cros-ec: Constify cros_ec_regulator_voltage_ops

2020-07-13 Thread Pi-Hsun Shih
Acked-by: Pi-Hsun Shih On Sat, Jul 11, 2020 at 7:44 PM Rikard Falkeborn wrote: > > It is never modified, so make it const to allow the compiler to put it > in read-only memory. > > Signed-off-by: Rikard Falkeborn > --- > drivers/regulator/cros-ec-regulator.c | 2 +- > 1 file changed, 1

[PATCH] regulator: cros-ec: Constify cros_ec_regulator_voltage_ops

2020-07-11 Thread Rikard Falkeborn
It is never modified, so make it const to allow the compiler to put it in read-only memory. Signed-off-by: Rikard Falkeborn --- drivers/regulator/cros-ec-regulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/cros-ec-regulator.c