From patchwork Sun May 26 12:00:06 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lad, Prabhakar" X-Patchwork-Id: 2615171 Return-Path: X-Original-To: patchwork-davinci@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from bear.ext.ti.com (bear.ext.ti.com [192.94.94.41]) by patchwork1.kernel.org (Postfix) with ESMTP id E34143FD4E for ; Sun, 26 May 2013 12:04:24 +0000 (UTC) Received: from dflxv15.itg.ti.com ([128.247.5.124]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id r4QC2feU021181; Sun, 26 May 2013 07:02:41 -0500 Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id r4QC2efl001542; Sun, 26 May 2013 07:02:41 -0500 Received: from dlelxv23.itg.ti.com (172.17.1.198) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.2.342.3; Sun, 26 May 2013 07:02:41 -0500 Received: from linux.omap.com (dlelxs01.itg.ti.com [157.170.227.31]) by dlelxv23.itg.ti.com (8.13.8/8.13.8) with ESMTP id r4QC2fiQ017109; Sun, 26 May 2013 07:02:41 -0500 Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id 38A978062B; Sun, 26 May 2013 07:02:41 -0500 (CDT) X-Original-To: davinci-linux-open-source@linux.davincidsp.com Delivered-To: davinci-linux-open-source@linux.davincidsp.com Received: from dflp52.itg.ti.com (dflp52.itg.ti.com [128.247.22.96]) by linux.omap.com (Postfix) with ESMTP id 78D3F80633 for ; Sun, 26 May 2013 07:02:27 -0500 (CDT) Received: from neches.ext.ti.com (neches.ext.ti.com [192.91.81.29]) by dflp52.itg.ti.com (8.13.7/8.13.8) with ESMTP id r4QC2R8D003349 for ; Sun, 26 May 2013 07:02:27 -0500 (CDT) Received: from mail6.bemta7.messagelabs.com (mail6.bemta7.messagelabs.com [216.82.255.55]) by neches.ext.ti.com (8.13.7/8.13.7) with ESMTP id r4QC2Q2W024644 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 26 May 2013 07:02:27 -0500 Received: from [216.82.253.67:65443] by server-11.bemta-7.messagelabs.com id 70/D4-12062-2D9F1A15; Sun, 26 May 2013 12:02:26 +0000 X-Env-Sender: prabhakar.csengg@gmail.com X-Msg-Ref: server-15.tower-158.messagelabs.com!1369569745!5561888!1 X-Originating-IP: [209.85.160.49] X-SpamReason: No, hits=0.5 required=7.0 tests=BODY_RANDOM_LONG, ML_RADAR_SPEW_LINKS_14,spamassassin: X-StarScan-Received: X-StarScan-Version: 6.9.6; banners=-,-,- X-VirusChecked: Checked Received: (qmail 32714 invoked from network); 26 May 2013 12:02:26 -0000 Received: from mail-pb0-f49.google.com (HELO mail-pb0-f49.google.com) (209.85.160.49) by server-15.tower-158.messagelabs.com with RC4-SHA encrypted SMTP; 26 May 2013 12:02:26 -0000 Received: by mail-pb0-f49.google.com with SMTP id rp8so5768969pbb.8 for ; Sun, 26 May 2013 05:02:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=fKB9FPdpB8uR3OCxdvmKQmPF4a15dhncFMdmYcZhAGc=; b=x+ouBEjp9LzNxr63GwxtWKVx2lHPZfRLWalnCCdE+EhiEBUl1VK5igzCWzk2NOQO8e WIjMKw6Go6riL/D6m8zktqgHhnV9AWjgQFtz/l1RWvO8s8GjZa2zo4djCZkTHW29pqs4 8pL2DBGktM9Iv7Qg6YBUPNfX5etva8W2sZv17wsqcikA9uXTxKUZAA/vdI8CeA7cFyb/ hfwYBJjJ+taCx63ARfN7Fy4xqxq5crOkxnD1xdy4Bw36vrDsGVLdg7Eh9H5tIf0d0KdA 9aAhEw/YXqkwMrULqBscAMIXTpwFfvzYRIJQDlrl3mBLYgeEILfkmMxFXLszok32Hl6r PCeQ== X-Received: by 10.66.163.5 with SMTP id ye5mr25415627pab.60.1369569745556; Sun, 26 May 2013 05:02:25 -0700 (PDT) Received: from localhost.localdomain ([112.79.41.196]) by mx.google.com with ESMTPSA id ri8sm24237417pbc.3.2013.05.26.05.02.06 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 26 May 2013 05:02:24 -0700 (PDT) From: Prabhakar Lad To: Hans Verkuil , Mauro Carvalho Chehab , LMML , Laurent Pinchart Subject: [PATCH v3 3/9] media: davinci: vpif: remove unnecessary braces around defines Date: Sun, 26 May 2013 17:30:06 +0530 Message-ID: <1369569612-30915-4-git-send-email-prabhakar.csengg@gmail.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1369569612-30915-1-git-send-email-prabhakar.csengg@gmail.com> References: <1369569612-30915-1-git-send-email-prabhakar.csengg@gmail.com> CC: DLOS , LKML X-BeenThere: davinci-linux-open-source@linux.davincidsp.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: Errors-To: davinci-linux-open-source-bounces@linux.davincidsp.com From: Lad, Prabhakar This patch removes unnecessary braces around defines. Signed-off-by: Lad, Prabhakar Acked-by: Laurent Pinchart --- drivers/media/platform/davinci/vpif.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/media/platform/davinci/vpif.c b/drivers/media/platform/davinci/vpif.c index f857d8f..77763f1 100644 --- a/drivers/media/platform/davinci/vpif.c +++ b/drivers/media/platform/davinci/vpif.c @@ -32,10 +32,10 @@ MODULE_DESCRIPTION("TI DaVinci Video Port Interface driver"); MODULE_LICENSE("GPL"); -#define VPIF_CH0_MAX_MODES (22) -#define VPIF_CH1_MAX_MODES (02) -#define VPIF_CH2_MAX_MODES (15) -#define VPIF_CH3_MAX_MODES (02) +#define VPIF_CH0_MAX_MODES 22 +#define VPIF_CH1_MAX_MODES 2 +#define VPIF_CH2_MAX_MODES 15 +#define VPIF_CH3_MAX_MODES 2 spinlock_t vpif_lock;