diff options
| author | Sultan Alsawaf <sultanxda@gmail.com> | 2018-05-14 12:18:27 -0700 |
|---|---|---|
| committer | Nathan Chancellor <natechancellor@gmail.com> | 2018-05-14 14:44:23 -0700 |
| commit | 47ea312b3cfe96cc4e608b617f66b346b286b7b5 (patch) | |
| tree | c2503880f8eb0d521d2f7a2f4d21d54e03c51689 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 9d2ce037ed5c94c63542be05154daebce539ddf4 (diff) | |
power: htc/lge_battery: Check for valid battery type string during probe
In order to make these two drivers coexist in the same kernel image, each
one needs to be able to validate the battery type and decide whether or
not to probe given the provided battery type. Currently, both drivers are
probed successfully, which causes issues at runtime since they conflict
with one another.
Therefore, only complete probe for the lge battery driver when the battery
type string contains "lge", and only complete probe for the htc battery
driver when the battery type string contains "walleye".
Signed-off-by: Sultan Alsawaf <sultanxda@gmail.com>
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
