staging: line6: Pass *_init() `usb_line6' pointers
authorChris Rorvick <chris@rorvick.com>
Mon, 12 Jan 2015 20:42:56 +0000 (12:42 -0800)
committerTakashi Iwai <tiwai@suse.de>
Mon, 12 Jan 2015 21:24:09 +0000 (22:24 +0100)
commita221dd453a311eb55c1f1ee6322947d99d9b6170
tree81bc2e4521408f495a651d0121779b75ffd08cd4
parent16d603d32d3437abd1867c7671ed2763bd3aaf0d
staging: line6: Pass *_init() `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/podhd.c
drivers/staging/line6/podhd.h
drivers/staging/line6/toneport.c
drivers/staging/line6/toneport.h
drivers/staging/line6/variax.c
drivers/staging/line6/variax.h