V4L/DVB (9980): em28xx: simplify analog logic
authorMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 29 Dec 2008 01:26:36 +0000 (22:26 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 30 Dec 2008 11:39:38 +0000 (09:39 -0200)
commit2e5ef2dfc45ff1ecebb0d8657b85b3fc716db9bf
tree5f1c88218a36e1cd029dbc7c50750a592d91a8c5
parent1a23f81b7dc3115b29cff0e4f58b5dd04a6242ad
V4L/DVB (9980): em28xx: simplify analog logic

Now, just two routines are enough for analog: the first one configs the analog
part and register V4L2 devices, and the second one release analog devices.

After this patch, it will be easier to transform em28xx-video into an em28xx
extension, loaded only on analog devices.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/em28xx/em28xx-cards.c
drivers/media/video/em28xx/em28xx-video.c
drivers/media/video/em28xx/em28xx.h