diff options
| author | Peter Rosin <peda@axentia.se> | 2016-12-20 12:33:02 +0100 |
|---|---|---|
| committer | Sebastian Reichel <sre@kernel.org> | 2017-01-04 22:00:52 +0100 |
| commit | a7d143d42b3d88862e49a67716187c556fb4624b (patch) | |
| tree | cb599c746ceee8eb7247b5ef6c4de27a4ea79eba /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | power: supply: bq24735: configure the charger as part of enabling it (diff) | |
| download | linux-a7d143d42b3d88862e49a67716187c556fb4624b.tar.gz linux-a7d143d42b3d88862e49a67716187c556fb4624b.zip | |
power: supply: bq24735: always check for AC adapter presence in probe
So what if there is a status_gpio specified? bq24735_charger_is_present()
do have a working fallback for the case of no status_gpio.
Simplify this by not special casing setups w/o status_gpio, folding
two consecutive if-blocks in the process.
Signed-off-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
