diff options
author | Bhumika Goyal <bhumirks@gmail.com> | 2017-01-28 18:08:57 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-01-31 23:58:27 +0300 |
commit | e5053853d8d7cd37275cc964bbc929e9e3c44c46 (patch) | |
tree | e6c5dec0f3fad271871c807346ded6f5f86cfbfb /drivers/regulator/isl9305.c | |
parent | d00b74613fb18dfd0a5aa99270ee2e72d5c808d7 (diff) | |
download | linux-e5053853d8d7cd37275cc964bbc929e9e3c44c46.tar.xz |
regulator: pfuze100-regulator: constify regulator_ops structure
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/pfuze100-regulator.o
text data bss dec hex filename
3552 12528 16 16096 3ee0 regulator/pfuze100-regulator.o
File size after: drivers/regulator/pfuze100-regulator.o
text data bss dec hex filename
4576 11496 16 16088 3ed8 regulator/pfuze100-regulator.o
Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/isl9305.c')
0 files changed, 0 insertions, 0 deletions