diff options
| author | Chris Rorvick <[email protected]> | 2015-01-12 12:42:59 -0800 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2015-01-12 22:24:11 +0100 |
| commit | a46c467251353109683d353826208a17aec9383e (patch) | |
| tree | 45b2e813554ae184dfdbd0264a75b93764fc7e66 /tools/perf/scripts/python | |
| parent | 01f6b2bc6a40efa2d29b213e636b9208a8126318 (diff) | |
staging: line6: Call *_disconnect() via pointer
Which *_disconnect() to call on disconnect is known at initialization.
Add a function pointer to the `usb_line6' struct and use to call into
the appropriate logic instead of evaluating the conditional logic.
Signed-off-by: Chris Rorvick <[email protected]>
Reviewed-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions