Re: [PATCH] regulator: rn5t618: Constify regulator_desc

2019-03-23 Thread Stefan Agner
On 20.03.2019 13:10, Axel Lin wrote: > 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 Looks good to me. Reviewed-by: Stefan Agner -- Stefan > --- >

[PATCH] regulator: rn5t618: Constify regulator_desc

2019-03-20 Thread Axel Lin
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 --- drivers/regulator/rn5t618-regulator.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git