V4L/DVB (12809): tm6000: Remove an old hack
authorMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 2 Nov 2007 14:16:35 +0000 (11:16 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 18 May 2010 03:39:53 +0000 (00:39 -0300)
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/tm6000/tm6000-core.c

index ddd61ca3d1d09ea18ca4634a44ca819f56ab8e4e..af97a23911239cd7fc808d4b099fa3e50071705e 100644 (file)
 #include <media/v4l2-common.h>
 #include <media/tuner.h>
 
-#ifdef HACK /* HACK */
-#include "tm6000-hack.c"
-#endif
-
 #define USB_TIMEOUT    5*HZ /* ms */
 
 int tm6000_read_write_usb (struct tm6000_core *dev, u8 req_type, u8 req,
@@ -313,11 +309,6 @@ int tm6000_init (struct tm6000_core *dev)
 {
        int board, rc=0, i;
 
-#ifdef HACK /* HACK */
-       init_tm6000(dev);
-       return 0;
-#else
-
        /* Load board's initialization table */
        for (i=0; i< ARRAY_SIZE(init_tab); i++) {
                rc= tm6000_set_reg (dev, REQ_07_SET_GET_AVREG,
@@ -375,8 +366,6 @@ int tm6000_init (struct tm6000_core *dev)
 
        msleep(50);
 
-#endif /* HACK */
-
        return 0;
 }