[media] cx25821: remove unnecessary global devlist
authorHans Verkuil <hans.verkuil@cisco.com>
Sat, 13 Apr 2013 10:07:40 +0000 (07:07 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 16 Apr 2013 21:02:02 +0000 (18:02 -0300)
commita8f35ce3d6f5b776463f03403e0319c2415401f7
tree0b089c96d8e4bd306edd495a0e5a697fd7a907a0
parentbfef0d35e57c08dff295e3203d30f9ca4077415a
[media] cx25821: remove unnecessary global devlist

This device list is not necessary. The kernel already has all that information,
so just use that instead.
Also remove a bogus refcount and some dead 'private_free' code in the alsa driver.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/pci/cx25821/cx25821-alsa.c
drivers/media/pci/cx25821/cx25821-core.c
drivers/media/pci/cx25821/cx25821-video.c
drivers/media/pci/cx25821/cx25821.h