diff options
| author | Sergio Paracuellos <[email protected]> | 2018-04-24 15:49:53 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-04-25 15:50:18 +0200 |
| commit | 9cfd8837ae501cef01205f6dd955fa9dedb5e2d4 (patch) | |
| tree | 64e43b4ccb1137fe6dc2c19c0f158b4dc8dd74e6 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 04e7f80e3561b6b585d1f1c364b0a64ff0c90e7e (diff) | |
staging: ks7010: refactor hostif_sme_power_mgmt_set function
Some minor changes have been done in this function to clean
it a bit:
- POWER_MGMT_ACTIVE and default case are the same so
just handle that with the same block of code,
- POWER_MGMT_SAVE1 replaces if-else with a ternary operator.
Signed-off-by: Sergio Paracuellos <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions