diff options
| author | Simon Arlott <[email protected]> | 2007-05-10 23:04:11 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2007-07-12 16:29:45 -0700 |
| commit | 87e71b473ee199cf4b7b7a0ce890cd01f45e3a0e (patch) | |
| tree | 9701f316dc0a26fd5a6a342668090363e6e25bec /tools/perf/scripts/python | |
| parent | 6dbd682b7c6d58916096616cdf94852641bc09d9 (diff) | |
USB: cxacru: Cleanup sysfs attribute code
This changes the format of unknown status values to be less verbose and
uses an array instead of several different snprintf calls. Since only
enum values are assigned to it, poll_state is changed from int to enum.
Use abs() for dB values instead of two almost identical return lines.
Signed-off-by: Simon Arlott <[email protected]>
Acked-by: Duncan Sands <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions