From patchwork Tue Apr 2 11:44:04 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lad, Prabhakar" X-Patchwork-Id: 2377521 Return-Path: X-Original-To: patchwork-davinci@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from devils.ext.ti.com (devils.ext.ti.com [198.47.26.153]) by patchwork1.kernel.org (Postfix) with ESMTP id 279173FDDA for ; Tue, 2 Apr 2013 11:50:26 +0000 (UTC) Received: from dlelxv30.itg.ti.com ([172.17.2.17]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id r32BkgOA005020; Tue, 2 Apr 2013 06:46:42 -0500 Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dlelxv30.itg.ti.com (8.13.8/8.13.8) with ESMTP id r32Bkg0p029688; Tue, 2 Apr 2013 06:46:42 -0500 Received: from dlelxv24.itg.ti.com (172.17.1.199) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.2.342.3; Tue, 2 Apr 2013 06:46:41 -0500 Received: from linux.omap.com (dlelxs01.itg.ti.com [157.170.227.31]) by dlelxv24.itg.ti.com (8.13.8/8.13.8) with ESMTP id r32BkfnT014923; Tue, 2 Apr 2013 06:46:41 -0500 Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id D105A8062C; Tue, 2 Apr 2013 05:46:41 -0600 (CST) 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 88DA38062A for ; Tue, 2 Apr 2013 05:45:14 -0600 (CST) 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 r32BjEHE006815 for ; Tue, 2 Apr 2013 06:45:14 -0500 (CDT) Received: from mail6.bemta8.messagelabs.com (mail6.bemta8.messagelabs.com [216.82.243.55]) by neches.ext.ti.com (8.13.7/8.13.7) with ESMTP id r32BjDSb028398 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 2 Apr 2013 06:45:14 -0500 Received: from [216.82.242.147:46361] by server-16.bemta-8.messagelabs.com id A4/5B-32688-9C4CA515; Tue, 02 Apr 2013 11:45:13 +0000 X-Env-Sender: prabhakar.csengg@gmail.com X-Msg-Ref: server-2.tower-95.messagelabs.com!1364903111!28746639!1 X-Originating-IP: [209.85.192.172] X-SpamReason: No, hits=0.0 required=7.0 tests=ML_RADAR_SPEW_LINKS_14, spamassassin: X-StarScan-Received: X-StarScan-Version: 6.8.6.1; banners=-,-,- X-VirusChecked: Checked Received: (qmail 16783 invoked from network); 2 Apr 2013 11:45:12 -0000 Received: from mail-pd0-f172.google.com (HELO mail-pd0-f172.google.com) (209.85.192.172) by server-2.tower-95.messagelabs.com with RC4-SHA encrypted SMTP; 2 Apr 2013 11:45:12 -0000 Received: by mail-pd0-f172.google.com with SMTP id 5so197795pdd.3 for ; Tue, 02 Apr 2013 04:45:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=BIwT4UxNp2ky4CNLcyR1+6XHWtvpVEcVcDff6cRHfVY=; b=fQa5pmTebchQUSk++JoAPuSXxN8nCaPVxgKW7+tMthlMFftokfo5Byn88/v6o3r/SX y3XsKw72LJApn/+rL1CQlxtUSrKLMV/GNwfIcce5Ls6eKTevXQqigzR3DoGbcP/v1oCO bupS9d2ZaYSwldbML8bIwjDlFUaAXf5Y0tuo3G3+f2iIxfYXmLD0PANBsrVMMODiqmMd QZPvthGR8/usVTB95AAXzl/jT/Zxm4hA+Xm96S6hMX6C5JPu8Ev2sNgW9PfTvEjAJky4 X2KRZKBU8ojwzjbasQsVCFmThIFBl9EW/L4AxDog8ExPadnmPtJnUsi/e/5FRzvIq31g bubQ== X-Received: by 10.66.121.169 with SMTP id ll9mr24230303pab.178.1364903110726; Tue, 02 Apr 2013 04:45:10 -0700 (PDT) Received: from localhost.localdomain ([59.98.242.90]) by mx.google.com with ESMTPS id kt5sm1443082pbc.30.2013.04.02.04.45.06 (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 02 Apr 2013 04:45:09 -0700 (PDT) From: Prabhakar lad To: DLOS , LAK , Sekhar Nori , Mauro Carvalho Chehab , LMML Subject: [PATCH v2 3/3] davinic: vpss: trivial cleanup Date: Tue, 2 Apr 2013 17:14:04 +0530 Message-ID: <1364903044-13752-4-git-send-email-prabhakar.csengg@gmail.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1364903044-13752-1-git-send-email-prabhakar.csengg@gmail.com> References: <1364903044-13752-1-git-send-email-prabhakar.csengg@gmail.com> CC: 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 header file inclusions and fixes the typo's. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/davinci/vpss.c | 11 +++-------- 1 files changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/media/platform/davinci/vpss.c b/drivers/media/platform/davinci/vpss.c index d36429d..8a2f01e 100644 --- a/drivers/media/platform/davinci/vpss.c +++ b/drivers/media/platform/davinci/vpss.c @@ -17,13 +17,8 @@ * * common vpss system module platform driver for all video drivers. */ -#include -#include -#include #include #include -#include -#include #include #include @@ -101,7 +96,7 @@ enum vpss_platform_type { /* * vpss operations. Depends on platform. Not all functions are available - * on all platforms. The api, first check if a functio is available before + * on all platforms. The api, first check if a function is available before * invoking it. In the probe, the function ptrs are initialized based on * vpss name. vpss name can be "dm355_vpss", "dm644x_vpss" etc. */ @@ -116,7 +111,7 @@ struct vpss_hw_ops { void (*set_sync_pol)(struct vpss_sync_pol); /* set the PG_FRAME_SIZE register*/ void (*set_pg_frame_size)(struct vpss_pg_frame_size); - /* check and clear interrupt if occured */ + /* check and clear interrupt if occurred */ int (*dma_complete_interrupt)(void); }; @@ -235,7 +230,7 @@ EXPORT_SYMBOL(vpss_clear_wbl_overflow); /* * dm355_enable_clock - Enable VPSS Clock - * @clock_sel: CLock to be enabled/disabled + * @clock_sel: Clock to be enabled/disabled * @en: enable/disable flag * * This is called to enable or disable a vpss clock