diff options
| author | Thomas Renninger <[email protected]> | 2010-05-21 16:18:09 +0200 |
|---|---|---|
| committer | Matthew Garrett <[email protected]> | 2010-08-03 09:48:40 -0400 |
| commit | 751ae808f6b29803228609f51aa1ae057f5c576e (patch) | |
| tree | cc0906d31b8968c99822061924c5d0d799239b5f /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 4b30fbca4f64bc70c59867ad5769c37efb587ff4 (diff) | |
x86 platform drivers: hp-wmi Reorder event id processing
Event id 0x4 defines the hotkey event.
No need (or even wrong) to query HPWMI_HOTKEY_QUERY if event id is != 0x4.
Reorder the eventcode conditionals and use switch case instead of if/else.
Use an enum for the event ids cases.
Signed-off-by: Thomas Renninger <[email protected]>
Signed-off-by: Matthew Garrett <[email protected]>
CC: [email protected]
CC: [email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions