OSDN Git Service

regulator: tps65132: Constify tps65132_regulator_ops and tps_regs_desc
authorAxel Lin <axel.lin@ingics.com>
Thu, 21 Mar 2019 12:00:38 +0000 (20:00 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 21 Mar 2019 14:59:09 +0000 (14:59 +0000)
commit4e105e3b4bc6a1825aefc56f11951e1496a5bb3c
treec5c60a71058609c664dcc09b06ab2a74b24be1c6
parent2e62e03333bb41277c920844e72bf26a29724b14
regulator: tps65132: Constify tps65132_regulator_ops and tps_regs_desc

The tps65132_regulator_ops and tps_regs_desc never need to be modified,
make them const so compiler can put them to .rodata.

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