staging: line6: Pass *_process_message() `usb_line6' pointers
authorChris Rorvick <chris@rorvick.com>
Mon, 12 Jan 2015 20:42:57 +0000 (12:42 -0800)
committerTakashi Iwai <tiwai@suse.de>
Mon, 12 Jan 2015 21:24:10 +0000 (22:24 +0100)
commit1cad3e8dcac92ee07c576e93d1b54c8308e2fa80
tree3873fb6871100cd28c37aa5a4559adcdafd46b68
parenta221dd453a311eb55c1f1ee6322947d99d9b6170
staging: line6: Pass *_process_message() `usb_line6' pointers

Casting the `struct usb_line6' pointer at the call point makes the code
difficult to read.  This is substantially cleaned up by moving the cast
into the callees.

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>
drivers/staging/line6/driver.c
drivers/staging/line6/pod.c
drivers/staging/line6/pod.h
drivers/staging/line6/variax.c
drivers/staging/line6/variax.h