summaryrefslogtreecommitdiff
path: root/drivers/staging/line6/toneport.h
diff options
context:
space:
mode:
authorChris Rorvick <chris@rorvick.com>2015-01-12 12:42:56 -0800
committerTakashi Iwai <tiwai@suse.de>2015-01-12 22:24:09 +0100
commita221dd453a311eb55c1f1ee6322947d99d9b6170 (patch)
tree81bc2e4521408f495a651d0121779b75ffd08cd4 /drivers/staging/line6/toneport.h
parent16d603d32d3437abd1867c7671ed2763bd3aaf0d (diff)
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>
Diffstat (limited to 'drivers/staging/line6/toneport.h')
-rw-r--r--drivers/staging/line6/toneport.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/line6/toneport.h b/drivers/staging/line6/toneport.h
index 8576b7263648..af2b4e06ce94 100644
--- a/drivers/staging/line6/toneport.h
+++ b/drivers/staging/line6/toneport.h
@@ -46,7 +46,7 @@ struct usb_line6_toneport {
extern void line6_toneport_disconnect(struct usb_interface *interface);
extern int line6_toneport_init(struct usb_interface *interface,
- struct usb_line6_toneport *toneport);
+ struct usb_line6 *line6);
extern void line6_toneport_reset_resume(struct usb_line6_toneport *toneport);
#endif