diff options
| author | Michał Mirosław <mirq-linux@rere.qmqm.pl> | 2020-05-03 18:21:10 +0300 |
|---|---|---|
| committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2020-05-03 22:49:34 +0300 |
| commit | 5956fca78f5c2a6390ab59919a277c3ef169f909 (patch) | |
| tree | 36f392b4f2afe7c792091432f0f4242c4c8ab9dd /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | b4c7715c10c106a041b0b3fabd26151c214ea394 (diff) | |
| download | linux-5956fca78f5c2a6390ab59919a277c3ef169f909.tar.xz | |
power: bq25890: simplify chip name property getter
Driver rejects unknown chips early in the probe(), so when
bq25890_power_supply_get_property() is made reachable, bq->chip_version
will already be set to correct value - there is no need to check
it again.
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
