commit | de46e0289310b5e56994eafec2f0d2a5da095ea9 | [log] [tgz] |
---|---|---|
author | Michał Mirosław <mirq-linux@rere.qmqm.pl> | Fri Apr 03 22:20:32 2020 +0200 |
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | Fri May 01 13:09:48 2020 +0200 |
tree | 586ce2c003d52db315fb9aecab5b105204054350 | |
parent | 0edb259c98fcffef6916503282eb6e3133878b9a [diff] |
power: supply: core: reduce power_supply_show_usb_type() parameters Reduce power_supply_show_usb_type() parameter count by folding power_supply_desc dereference into the function. This makes following patch making usb_types const easier. Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>