[media] au0828: remove VIDEO_AU0828_RC scope around au0828_rc_*
authorShuah Khan <shuah.kh@samsung.com>
Sat, 9 Aug 2014 00:36:19 +0000 (21:36 -0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 03:00:26 +0000 (12:00 +0900)
Remove CONFIG_VIDEO_AU0828_RC scope around au0828_rc_register()
and au0828_rc_unregister() calls in au0828-core

Change-Id: I9431dffe542e5ffd625ead27fe448d6a848fd720
Signed-off-by: Shuah Khan <shuah.kh@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/usb/au0828/au0828-core.c

index 56025e6..b08b979 100644 (file)
@@ -153,9 +153,7 @@ static void au0828_usb_disconnect(struct usb_interface *interface)
 
        dprintk(1, "%s()\n", __func__);
 
-#ifdef CONFIG_VIDEO_AU0828_RC
        au0828_rc_unregister(dev);
-#endif
        /* Digital TV */
        au0828_dvb_unregister(dev);
 
@@ -266,10 +264,8 @@ static int au0828_usb_probe(struct usb_interface *interface,
                pr_err("%s() au0282_dev_register failed\n",
                       __func__);
 
-#ifdef CONFIG_VIDEO_AU0828_RC
        /* Remote controller */
        au0828_rc_register(dev);
-#endif
 
        /*
         * Store the pointer to the au0828_dev so it can be accessed in