commit | f5fec4cc2949421af74bdd005abd99fcbaf9d0d7 | [log] [tgz] |
---|---|---|
author | Ladislav Michl <ladis@linux-mips.org> | Mon Mar 05 19:05:18 2018 +0100 |
committer | Sebastian Reichel <sebastian.reichel@collabora.co.uk> | Fri Mar 09 16:16:34 2018 +0100 |
tree | 45409e7a3f39668ceacd55a501d6626759e062dc | |
parent | d433d04bb70085ceea2815cdb879d4e6fae470d9 [diff] |
power: supply: gpio-charger: Use GPIOF_ACTIVE_LOW for legacy setup Setting GPIOF_ACTIVE_LOW flag based on platform data gpio_active_low makes return value of gpiod_get_value_cansleep directly usable. Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>