diff options
| author | João Paulo Rechi Vita <[email protected]> | 2016-02-22 11:36:39 -0500 |
|---|---|---|
| committer | Johannes Berg <[email protected]> | 2016-04-05 10:48:53 +0200 |
| commit | 1948b2a2ec132115b422ae1feba1a3f5598f4acd (patch) | |
| tree | 91599c316608ab816cde1e505bb07dbd41ec2a0f /tools/perf/scripts/python/syscall-counts.py | |
| parent | 98bd147d7903580ca5d5dfa0bc39c2d16714d84e (diff) | |
rfkill: Use switch to demux userspace operations
Using a switch to handle different ev.op values in rfkill_fop_write()
makes the code easier to extend, as out-of-range values can always be
handled by the default case.
Signed-off-by: João Paulo Rechi Vita <[email protected]>
[roll in fix for RFKILL_OP_CHANGE from Jouni]
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions