• B
    regulator: arizona-ldo1: constify regulator_ops structure · 03d06107
    Bhumika Goyal 提交于
    Declare regulator_ops structure as const as it is only stored in the ops
    field of a regulator_desc structure. This field is of type const, so
    regulator_ops structures having this property can be made const too.
    
    File size before: drivers/regulator/arizona-ldo1.o
       text	   data	    bss	    dec	    hex	filename
       1890	    720	      0	   2610	    a32	drivers/regulator/arizona-ldo1.o
    
    File size after: drivers/regulator/arizona-ldo1.o
       text	   data	    bss	    dec	    hex	filename
       2402	    192	      0	   2594	    a22	drivers/regulator/arizona-ldo1.o
    Signed-off-by: NBhumika Goyal <bhumirks@gmail.com>
    Signed-off-by: NMark Brown <broonie@kernel.org>
    03d06107
arizona-ldo1.c 8.1 KB