aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/line6/usbdefs.h
diff options
context:
space:
mode:
authorChris Rorvick <chris@rorvick.com>2015-01-12 12:42:47 -0800
committerTakashi Iwai <tiwai@suse.de>2015-01-12 22:24:04 +0100
commit7b3e4d47ca372c4e54f0a1f2e7cffca0b9f9c070 (patch)
tree3e727fa938c75f6dd5ba30cd8037a437570524ac /drivers/staging/line6/usbdefs.h
parentstaging: line6: Use explicit indexes when defining properties (diff)
downloadlinux-dev-7b3e4d47ca372c4e54f0a1f2e7cffca0b9f9c070.tar.xz
linux-dev-7b3e4d47ca372c4e54f0a1f2e7cffca0b9f9c070.zip
staging: line6: List out capabilities individually
The `LINE6_CAP_CTRL_PCM_HW' macro combines three capabilities to save horizontal space when defining the properties entries. Now that these are no longer limited to single lines this is not such a concern. Specify capabilities individually when defining each property for better clarity. 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/usbdefs.h')
-rw-r--r--drivers/staging/line6/usbdefs.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/line6/usbdefs.h b/drivers/staging/line6/usbdefs.h
index d6e46ee8fa02..f4d080e69abc 100644
--- a/drivers/staging/line6/usbdefs.h
+++ b/drivers/staging/line6/usbdefs.h
@@ -21,10 +21,6 @@
/* device support hardware monitoring */
#define LINE6_CAP_HWMON (1 << 2)
-#define LINE6_CAP_CTRL_PCM_HW (LINE6_CAP_CONTROL | \
- LINE6_CAP_PCM | \
- LINE6_CAP_HWMON)
-
#define LINE6_FALLBACK_INTERVAL 10
#define LINE6_FALLBACK_MAXPACKETSIZE 16