diff options
| author | Bruno Randolf <[email protected]> | 2010-12-21 17:30:43 +0900 |
|---|---|---|
| committer | John W. Linville <[email protected]> | 2010-12-22 15:43:28 -0500 |
| commit | 0207c0c51a37659a92232e665f2a7fadec170556 (patch) | |
| tree | bc5755f6252c47c7722c3e69eee92c7274b36320 /tools/perf/scripts/python | |
| parent | 26a51ad7f285236ca593c57cffcaadd40514084a (diff) | |
ath5k: Use helper function to get eeprom mode from channel
Introduce a helper function to get the EEPROM mode from channel and remove
multiple similar switch statements. Also since it's now easy to get the EEPROM
mode from the channel, use them inside the functions which need it, instead of
passing a redundant ee_mode parameter.
Signed-off-by: Bruno Randolf <[email protected]>
Acked-by: Nick Kossifidis <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions