]> git.karo-electronics.de Git - linux-beck.git/commit
staging: line6: Use explicit indexes when defining properties
authorChris Rorvick <chris@rorvick.com>
Mon, 12 Jan 2015 20:42:46 +0000 (12:42 -0800)
committerTakashi Iwai <tiwai@suse.de>
Mon, 12 Jan 2015 21:24:03 +0000 (22:24 +0100)
commit4d947546c3fb6bc426a7527cf6f8ddb8368fbbc7
treeee2ae5c9a18b480546c96f96c2ca6c27b9b3a7b7
parent4cb1a4ae4afb36234bb0521b282d4861e12ff80b
staging: line6: Use explicit indexes when defining properties

Specify the index of the properties entry explicitly to define this
structure more robustly.  Also, drop the `L6PROP' macro in favor of
initializing each member explicitly on its own line since horizontal
space is limited and more attributes will be added later.

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