summaryrefslogtreecommitdiffstats
path: root/drivers/staging/line6/driver.c
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@gmail.com>2012-11-22 20:49:17 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-26 16:13:50 -0800
commit9f673d7a6022b9425fc412d619fd72bcadcf80c3 (patch)
treed866c95a315e27e94cbefacda43d27645fb62476 /drivers/staging/line6/driver.c
parent59ac6936bcb7fc95039eb7813bfb827271185c56 (diff)
downloadop-kernel-dev-9f673d7a6022b9425fc412d619fd72bcadcf80c3.zip
op-kernel-dev-9f673d7a6022b9425fc412d619fd72bcadcf80c3.tar.gz
staging: line6: drop CONFIG_LINE6_USB_RAW
Now that both pod.c and variax.c have removed their raw sysfs attrs, the CONFIG_LINE6_USB_RAW config option can be dropped. The drivers are being stripped down to just PCM and MIDI I/O so there is less state and filtering. Therefore it's no longer necessary to have a special sysfs attr to bypass the filtering ("raw"). Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/line6/driver.c')
-rw-r--r--drivers/staging/line6/driver.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/staging/line6/driver.c b/drivers/staging/line6/driver.c
index e0e0779..6f07a06c 100644
--- a/drivers/staging/line6/driver.c
+++ b/drivers/staging/line6/driver.c
@@ -642,20 +642,6 @@ ssize_t line6_nop_write(struct device *dev, struct device_attribute *attr,
}
/*
- "write" request on "raw" special file.
-*/
-#ifdef CONFIG_LINE6_USB_RAW
-ssize_t line6_set_raw(struct device *dev, struct device_attribute *attr,
- const char *buf, size_t count)
-{
- struct usb_interface *interface = to_usb_interface(dev);
- struct usb_line6 *line6 = usb_get_intfdata(interface);
- line6_send_raw_message(line6, buf, count);
- return count;
-}
-#endif
-
-/*
Generic destructor.
*/
static void line6_destruct(struct usb_interface *interface)
OpenPOWER on IntegriCloud