commit | 01167e88e9372f9748e94a7322b0d43ccb980d9f | [log] [tgz] |
---|---|---|
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | Sun Aug 30 00:10:59 2020 +0200 |
committer | Mark Brown <broonie@kernel.org> | Tue Sep 01 15:48:53 2020 +0100 |
tree | 89269bbd2ebe7feea6a0c80d7b8940df06588eeb | |
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>