diff options
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2020-09-13 10:41:13 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-09-14 14:24:39 +0100 |
commit | 72f2746c52e3fa6c0f6740df2d4fb70419533084 (patch) | |
tree | 035cdbceb6ef101d125356d7f48713126b9f55a1 /lib/atomic64.c | |
parent | 9032693e218e69a9527fd5d08c4ce5cdbe90820f (diff) |
regulator: pca9450: Constify static regulator_ops
The only usages 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/20200913084114.8851-5-rikard.falkeborn@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib/atomic64.c')
0 files changed, 0 insertions, 0 deletions