From patchwork Mon Apr 8 12:19:13 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lad, Prabhakar" X-Patchwork-Id: 2408341 Return-Path: X-Original-To: patchwork-davinci@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from devils.ext.ti.com (devils.ext.ti.com [198.47.26.153]) by patchwork2.kernel.org (Postfix) with ESMTP id 43199DFB78 for ; Mon, 8 Apr 2013 12:26:41 +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 r38CMm82020097; Mon, 8 Apr 2013 07:22:48 -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 r38CMmCY006292; Mon, 8 Apr 2013 07:22:48 -0500 Received: from dlelxv23.itg.ti.com (172.17.1.198) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.2.342.3; Mon, 8 Apr 2013 07:22:47 -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 r38CMloT002539; Mon, 8 Apr 2013 07:22:47 -0500 Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id 9DDF080627; Mon, 8 Apr 2013 07:22:47 -0500 (CDT) X-Original-To: davinci-linux-open-source@linux.davincidsp.com Delivered-To: davinci-linux-open-source@linux.davincidsp.com Received: from dflp51.itg.ti.com (dflp51.itg.ti.com [128.247.22.94]) by linux.omap.com (Postfix) with ESMTP id 0B23880626 for ; Mon, 8 Apr 2013 07:22:46 -0500 (CDT) Received: from white.ext.ti.com (white.ext.ti.com [192.94.93.38]) by dflp51.itg.ti.com (8.13.7/8.13.8) with ESMTP id r38CMjPV013597 for ; Mon, 8 Apr 2013 07:22:45 -0500 (CDT) Received: from mail6.bemta7.messagelabs.com (mail6.bemta7.messagelabs.com [216.82.255.55]) by white.ext.ti.com (8.13.7/8.13.7) with ESMTP id r38CMjhe031015 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 8 Apr 2013 07:22:45 -0500 Received: from [216.82.253.147:5275] by server-2.bemta-7.messagelabs.com id F0/4F-03631-596B2615; Mon, 08 Apr 2013 12:22:45 +0000 X-Env-Sender: prabhakar.csengg@gmail.com X-Msg-Ref: server-6.tower-165.messagelabs.com!1365423763!10557126!1 X-Originating-IP: [209.85.210.53] 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 13271 invoked from network); 8 Apr 2013 12:22:44 -0000 Received: from mail-da0-f53.google.com (HELO mail-da0-f53.google.com) (209.85.210.53) by server-6.tower-165.messagelabs.com with RC4-SHA encrypted SMTP; 8 Apr 2013 12:22:44 -0000 Received: by mail-da0-f53.google.com with SMTP id n34so2601470dal.12 for ; Mon, 08 Apr 2013 05:22:43 -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=RlDlCxBKe/TIbGgyaOxUqsXSiFJhZBvlbcFTxhf+VY1kuVF6lc/24NNYXobdZ9jjPh 3zUuNnhgrkZhRByWNYtv0exlDv6riUU2sCCLH52lR0x6a1PNZ9pXh6K6z4OIauxhPVxR F0zTt8P5Dq2swyzYtj1fTqCejcPW5/OxQ5dy6bGKOeZFDat6vZgAsNBrCMhB4gQlCpeg CG9eFUSb/X78ilNqghQ3fkNkb+iD2oLVjXHiNLPYfT8Hv3DI19ehYYVj431t7Z/OQlre Wbo0FI/uD8WH7WW4eK6aQqVQfk2HXjLkBo/Emio5TmC1FL9gE74+gIZJtU6FvMtYQlCT TO1w== X-Received: by 10.66.25.206 with SMTP id e14mr2400127pag.13.1365423763499; Mon, 08 Apr 2013 05:22:43 -0700 (PDT) Received: from localhost.localdomain ([59.98.240.77]) by mx.google.com with ESMTPS id g8sm36827249pae.7.2013.04.08.05.22.38 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 08 Apr 2013 05:22:42 -0700 (PDT) From: Prabhakar lad To: DLOS , LAK , LMML Subject: [PATCH v3 3/3] davinic: vpss: trivial cleanup Date: Mon, 8 Apr 2013 17:49:13 +0530 Message-ID: <1365423553-12619-4-git-send-email-prabhakar.csengg@gmail.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1365423553-12619-1-git-send-email-prabhakar.csengg@gmail.com> References: <1365423553-12619-1-git-send-email-prabhakar.csengg@gmail.com> CC: LKML , Mauro Carvalho Chehab 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