diff options
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2020-08-30 00:11:04 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-09-01 16:48:57 +0200 |
commit | 385d41d7edbc37d6b30197672b744021ce3baccf (patch) | |
tree | 202d4e57408f8ca116f0891f63fdd84b1b720b0d /net/802 | |
parent | regulator: tps65912: Constify static regulator_ops (diff) | |
download | linux-385d41d7edbc37d6b30197672b744021ce3baccf.tar.xz linux-385d41d7edbc37d6b30197672b744021ce3baccf.zip |
regulator: tps65910: Constify static regulator_ops
The only usage of these is to assign their address to the ops field in
the regulator_desc struct, which is a const pointer. Make them const to
allow the compiler to put them in read-only memory.
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Link: https://lore.kernel.org/r/20200829221104.20870-9-rikard.falkeborn@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'net/802')
0 files changed, 0 insertions, 0 deletions