• Bhumika Goyal's avatar
    regulator: fan53555: constify regulator_ops structure · 71880ab2
    Bhumika Goyal authored
    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/fan53555.o
       text	   data	    bss	    dec	    hex	filename
       3512	    496	      8	   4016	    fb0	drivers/regulator/fan53555.o
    
    File size after: drivers/regulator/fan53555.o
       text	   data	    bss	    dec	    hex	filename
       3768	    240	      8	   4016	    fb0	drivers/regulator/fan53555.o
    Signed-off-by: default avatarBhumika Goyal <bhumirks@gmail.com>
    Signed-off-by: default avatarMark Brown <broonie@kernel.org>
    71880ab2
fan53555.c 11.9 KB