]> asedeno.scripts.mit.edu Git - linux.git/commit
regulator: max8998: Constify regulator_ops
authorAxel Lin <axel.lin@ingics.com>
Sun, 14 Apr 2019 12:48:17 +0000 (20:48 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 15 Apr 2019 08:44:58 +0000 (09:44 +0100)
commit7d695f20c27f33173f2149d4d1c6e994e5c0b08e
tree8291f33fc2a56e242961465ada12059091121c35
parent7a8b0e66df5ad04d0acf31d43b37be46504b9fbc
regulator: max8998: Constify regulator_ops

These regulator_ops variables 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/max8998.c