[media] cx25821, cx88, tm6000: use SNDRV_DEFAULT_ENABLE_PNP
authorLuis de Bethencourt <luisbg@osg.samsung.com>
Mon, 21 Sep 2015 16:00:41 +0000 (13:00 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 1 Oct 2015 11:42:52 +0000 (08:42 -0300)
commitd275d935900e10f01f2e43fb4a961ebcb48867bc
treea1404fc3a3a39bd11879abf100e854e4841d17ae
parentfc88dd16a0e430f57458e6bd9b62a631c6ea53a1
[media] cx25821, cx88, tm6000: use SNDRV_DEFAULT_ENABLE_PNP

Instead of manually initializing the bool array enable, use the
SNDRV_DEFAULT_ENABLE_PNP macro. As most drivers do.

Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/pci/cx25821/cx25821-alsa.c
drivers/media/pci/cx88/cx88-alsa.c
drivers/media/usb/tm6000/tm6000-alsa.c