linux-stable/drivers/staging
Chris Rorvick c33a20b71d staging: line6: Index properties array with device type
The current logic uses the index of the matched entry from the device
table as an offset to the corresponding properties entry.  The values
of the new `line6_device_type' enum are ordered such that they can be
used as an index into either of these arrays.  Drop the device entry
lookup logic and use the device type (via the .driver_info member)
instead.

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>
2015-01-12 22:24:00 +01:00
..
android Merge branch 'for-3.19' of git://linux-nfs.org/~bfields/linux 2014-12-16 15:25:31 -08:00
board
clocking-wizard Drivers:staging:clocking-wizard: Added a newline 2014-12-02 16:45:24 -08:00
comedi staging: comedi: change some printk calls to pr_err 2014-12-02 16:54:43 -08:00
cptm1217
dgap Drivers:staging:dgap: Added a blank line after declaration 2014-11-26 14:00:22 -08:00
dgnc
emxx_udc Staging patches for 3.19-rc1 2014-12-15 18:06:13 -08:00
ft1000 staging: ft1000 : replace __attribute ((__packed__) with __packed 2014-12-02 16:48:10 -08:00
fwserial staging: fwserial: remove multiple blank lines 2014-11-26 13:53:25 -08:00
gdm72xx More ACPI and power management updates for 3.19-rc1 2014-12-18 20:28:33 -08:00
gdm724x
goldfish
gs_fpgaboot
iio Staging patches for 3.19-rc1 2014-12-15 18:06:13 -08:00
line6 staging: line6: Index properties array with device type 2015-01-12 22:24:00 +01:00
lustre [regression] braino in "lustre: use is_root_inode()" 2014-12-26 22:43:19 -05:00
media media updates for v3.19-rc1 2014-12-18 20:14:49 -08:00
mt29f_spinand
netlogic
nvec
octeon Staging patches for 3.19-rc1 2014-12-15 18:06:13 -08:00
octeon-usb Staging patches for 3.19-rc1 2014-12-15 18:06:13 -08:00
olpc_dcon staging: olpc_dcon: Deletion of a check before backlight_device_unregister() 2014-11-26 14:00:22 -08:00
ozwpan Staging patches for 3.19-rc1 2014-12-15 18:06:13 -08:00
panel staging: panel: Move LCD-related state into struct lcd 2014-12-02 16:34:35 -08:00
rtl8188eu staging: rtl8188eu: hal: hal_intf.c: Cleaning up functions that are not used anywhere 2014-12-02 16:29:26 -08:00
rtl8192e drivers: staging: rtl8192e: Include "asm/unaligned.h" instead of "access_ok.h" in "rtl819x_BAProc.c" 2014-12-02 16:47:11 -08:00
rtl8192u
rtl8712 staging: rtl8712: remove unnecessary else after return 2014-12-02 16:54:43 -08:00
rtl8723au Staging patches for 3.19-rc1 2014-12-15 18:06:13 -08:00
rts5208
skein staging: skein: fix sparse warnings related to shift operator 2014-11-22 10:53:09 -08:00
slicoss Staging: slicoss: Fix long line issues in slicoss.c 2014-12-02 16:54:43 -08:00
speakup
ste_rmi4
unisys staging: unisys: remove duplicate header 2014-12-02 16:50:08 -08:00
vme
vt6655 staging: vt6655: s_cbFillTxBufHead remove parameter cbFrameBodySize 2014-12-02 16:35:11 -08:00
vt6656 Staging patches for 3.19-rc1 2014-12-15 18:06:13 -08:00
wlan-ng staging: wlan-ng: prism2fw: fixed code style issue 2014-11-26 14:00:22 -08:00
xgifb
Kconfig Staging patches for 3.19-rc1 2014-12-15 18:06:13 -08:00
Makefile Staging patches for 3.19-rc1 2014-12-15 18:06:13 -08:00
staging.c