From patchwork Sat Aug 9 00:36:19 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shuah Khan X-Patchwork-Id: 4702231 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id B74A1C033A for ; Sat, 9 Aug 2014 00:36:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E987D20145 for ; Sat, 9 Aug 2014 00:36:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 18AE42015E for ; Sat, 9 Aug 2014 00:36:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753948AbaHIAg2 (ORCPT ); Fri, 8 Aug 2014 20:36:28 -0400 Received: from qmta10.emeryville.ca.mail.comcast.net ([76.96.30.17]:57201 "EHLO qmta10.emeryville.ca.mail.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751446AbaHIAgX (ORCPT ); Fri, 8 Aug 2014 20:36:23 -0400 Received: from omta02.emeryville.ca.mail.comcast.net ([76.96.30.19]) by qmta10.emeryville.ca.mail.comcast.net with comcast id cPso1o0040QkzPwAAQcPq7; Sat, 09 Aug 2014 00:36:23 +0000 Received: from mail.gonehiking.org ([50.134.149.16]) by omta02.emeryville.ca.mail.comcast.net with comcast id cQcM1o00H0MU7Qa8NQcNkQ; Sat, 09 Aug 2014 00:36:22 +0000 Received: from lorien.sisa.samsung.com (lorien-wl.internal [192.168.1.40]) by mail.gonehiking.org (Postfix) with ESMTP id A608542403; Fri, 8 Aug 2014 18:36:21 -0600 (MDT) From: Shuah Khan To: m.chehab@samsung.com, dheitmueller@kernellabs.com Cc: Shuah Khan , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] au0828: remove CONFIG_VIDEO_AU0828_RC scope around au0828_rc_*() Date: Fri, 8 Aug 2014 18:36:19 -0600 Message-Id: X-Mailer: git-send-email 1.9.1 In-Reply-To: References: In-Reply-To: References: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1407544583; bh=fM5kcp/R2fVTJa0gdpBvN8QJUQn30TmIx+GrAjGw5TQ=; h=Received:Received:Received:From:To:Subject:Date:Message-Id; b=bDm4sYrf0ur968UP8wl8M6IdHQdD5vfckgfnZxiX+UTtS8RvKmz9VPNQKJF8NAy8X Ut6DE4Ezo69PHnzte9WXIZVaZmapwYQF8Su2AMeewOuQWso386T6W2lbbHT6V4ZZle tQfXxA2LLrdwFr9jOmb0tczjjto7TSf9pSL0i8EL5NEHR7ixV4rnIM0T1hO6GsXfWI 1pRNOzBRjqu1BcsgwKMzL6rv3c4UeG2R+qJzYYhnj2BQ5WMQRMtlUn5bCE3a+T6s0L 0TDVkdMcChE5JUHsgkVdMietpEDcGW+OAKcuFByJnU+2MC75m8v3ruXbwulwG7D7Vp FcZJxR5MclVYA== Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Remove CONFIG_VIDEO_AU0828_RC scope around au0828_rc_register() and au0828_rc_unregister() calls in au0828-core Signed-off-by: Shuah Khan --- drivers/media/usb/au0828/au0828-core.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/media/usb/au0828/au0828-core.c b/drivers/media/usb/au0828/au0828-core.c index eb5f2b1..2090498 100644 --- a/drivers/media/usb/au0828/au0828-core.c +++ b/drivers/media/usb/au0828/au0828-core.c @@ -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