power: supply: core: allow to constify property lists
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>
Fri, 3 Apr 2020 20:20:32 +0000 (22:20 +0200)
committerSebastian Reichel <sre@kernel.org>
Fri, 1 May 2020 13:43:04 +0000 (15:43 +0200)
commit9ba2353b2cc58ba13f7a7369208107f133f6a27b
tree25b861701b4e765d2b8e45c68697f70b7f7aca41
parent191e6bcf50dd54786c3560420b815bce5b523a61
power: supply: core: allow to constify property lists

Since tables pointed to by power_supply_desc->properties and
->usb_types are not expected to change after registration, mark
the pointers accordingly

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
include/linux/power_supply.h