]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/staging/media/lirc/lirc_sir.c
[media] staging: lirc_sir: remove dead code
[karo-tx-linux.git] / drivers / staging / media / lirc / lirc_sir.c
index 63a554c36f751034d053a45a60262163c5500b23..f781c532b3c42e7c4a8b3635c66b967cc8beb649 100644 (file)
@@ -787,12 +787,6 @@ static int init_hardware(void)
        spin_lock_irqsave(&hardware_lock, flags);
        /* reset UART */
 #ifdef LIRC_ON_SA1100
-#ifdef CONFIG_SA1100_BITSY
-       if (machine_is_bitsy()) {
-               pr_info("Power on IR module\n");
-               set_bitsy_egpio(EGPIO_BITSY_IR_ON);
-       }
-#endif
 #ifdef CONFIG_SA1100_COLLIE
        sa1100_irda_set_power_collie(3);        /* power on */
 #endif
@@ -942,10 +936,6 @@ static void drop_hardware(void)
        Ser2UTCR3 = sr.utcr3;
 
        Ser2HSCR0 = sr.hscr0;
-#ifdef CONFIG_SA1100_BITSY
-       if (machine_is_bitsy())
-               clr_bitsy_egpio(EGPIO_BITSY_IR_ON);
-#endif
 #ifdef CONFIG_SA1100_COLLIE
        sa1100_irda_set_power_collie(0);        /* power off */
 #endif