commit | 72f2746c52e3fa6c0f6740df2d4fb70419533084 | [log] [tgz] |
---|---|---|
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | Sun Sep 13 10:41:13 2020 +0200 |
committer | Mark Brown <broonie@kernel.org> | Mon Sep 14 14:24:39 2020 +0100 |
tree | 035cdbceb6ef101d125356d7f48713126b9f55a1 | |
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>