OSDN Git Service

regulator: rn5t618: Constify regulator_desc
authorAxel Lin <axel.lin@ingics.com>
Wed, 20 Mar 2019 12:10:57 +0000 (20:10 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 20 Mar 2019 17:14:31 +0000 (17:14 +0000)
commitc22938562fd891cf1fa95690a6eb6cc9d9a1fbbd
treebe61bea99905e5591606e298202cf4dec735b2d9
parent6185de50e441c3e6809a00d4f525ad2c344031f5
regulator: rn5t618: Constify regulator_desc

The regulator_desc never need to be modified, so define them as const as a
hint to the compiler that they can go into .rodata.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/rn5t618-regulator.c