]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit80735823273e8386a6eb9695e856e97e98667380
treeb8a53e1e8b5cd350d15569e6f97eb4a4c5351375
parent70687816dae79eb899dbdc4763ebac49449710af
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