staging: line6: Move control endpoints to properties
authorChris Rorvick <chris@rorvick.com>
Mon, 12 Jan 2015 20:42:53 +0000 (12:42 -0800)
committerTakashi Iwai <tiwai@suse.de>
Mon, 12 Jan 2015 21:24:07 +0000 (22:24 +0100)
commit9e165be72f49b2de0cb859304a1eb7e6e26da1e1
treeb8a53e1e8b5cd350d15569e6f97eb4a4c5351375
parent7b9584fa1c0be583a8981763dba7ef9f4d1fe67b
staging: line6: Move control endpoints to properties

The device type can now be used to determine the addresses of the
control endpoints for the interface.  Drop the conditional logic and
make these values properties.

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