diff options
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2020-08-30 00:10:59 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-09-01 15:48:53 +0100 |
commit | 01167e88e9372f9748e94a7322b0d43ccb980d9f (patch) | |
tree | 89269bbd2ebe7feea6a0c80d7b8940df06588eeb /drivers/ps3 | |
parent | 55c81934e7040c1e0c26b72ee752203ccf190b51 (diff) |
regulator: tps62360: Constify tps62360_dcdc_ops
The only usage of tps62360_dcdc_ops is to assign its address to the ops
field in the regulator_desc struct, which is a const pointer. Make it
const to allow the compiler to put it in read-only memory.
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Link: https://lore.kernel.org/r/20200829221104.20870-4-rikard.falkeborn@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/ps3')
0 files changed, 0 insertions, 0 deletions