diff options
author | Bhumika Goyal <bhumirks@gmail.com> | 2017-01-28 18:58:34 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-01-31 20:32:53 +0000 |
commit | 32cb5d30cf4948e74be3dda5fd85781bc8eb9d49 (patch) | |
tree | 2018145fab7595f07db3daef6d54daa3dcae1efa /drivers/regulator/wm831x-isink.c | |
parent | d00b74613fb18dfd0a5aa99270ee2e72d5c808d7 (diff) |
regulator: 88pm8607: constify regulator_ops structure
Declare regulator_ops structures 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/88pm8607.o
text data bss dec hex filename
3466 5488 0 8954 22fa drivers/regulator/88pm8607.o
File size after: drivers/regulator/88pm8607.o
text data bss dec hex filename
3978 4976 0 8954 22fa drivers/regulator/88pm8607.o
Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/wm831x-isink.c')
0 files changed, 0 insertions, 0 deletions