staging: line6: Move altsetting to properties
authorChris Rorvick <chris@rorvick.com>
Mon, 12 Jan 2015 20:42:52 +0000 (12:42 -0800)
committerTakashi Iwai <tiwai@suse.de>
Mon, 12 Jan 2015 21:24:07 +0000 (22:24 +0100)
commit7b9584fa1c0be583a8981763dba7ef9f4d1fe67b
treef0b4a5a3306166f5979fddbf30b16039c3eb651a
parentb98a8115f7cb5c8342606eb9a3cb1d808d01efb7
staging: line6: Move altsetting to properties

The device type can now be used to determine the altsetting for the
interface.  Drop the conditional logic and make this value a property.

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