regulator: slg51000: Constify slg51000_regl_ops and slg51000_switch_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>
This commit is contained in:
Axel Lin 2019-05-24 18:02:46 +08:00 • committed by Mark Brown
commit 0a33d4feea
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0