diff options
author | Chris Rorvick <chris@rorvick.com> | 2015-01-12 21:42:59 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-01-12 22:24:11 +0100 |
commit | a46c467251353109683d353826208a17aec9383e (patch) | |
tree | 45b2e813554ae184dfdbd0264a75b93764fc7e66 /sound/usb/Kconfig | |
parent | staging: line6: Call *_process_message() via pointer (diff) | |
download | linux-a46c467251353109683d353826208a17aec9383e.tar.xz linux-a46c467251353109683d353826208a17aec9383e.zip |
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 <chris@rorvick.com>
Reviewed-by: Stefan Hajnoczi <stefanha@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/Kconfig')
0 files changed, 0 insertions, 0 deletions