[media] em28xx: prepare for supporting multiple LEDs
authorFrank Schaefer <fschaefer.oss@googlemail.com>
Sun, 1 Dec 2013 21:06:55 +0000 (18:06 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 10 Dec 2013 18:18:40 +0000 (16:18 -0200)
commit6b8a3170c9984be58e50e23c78e2eb7833f33c4c
tree9473b6db87b54c412b1a987965cacfe4f709a6e0
parent7763481a97488f201e7b6a42ddce1d163cd6297a
[media] em28xx: prepare for supporting multiple LEDs

Introduce a LED role and store all LEDs in an array.
Also provide a helper function to retrieve a specific LED.

Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/usb/em28xx/em28xx-core.c
drivers/media/usb/em28xx/em28xx.h