From patchwork Fri Apr 19 09:53:29 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lad, Prabhakar" X-Patchwork-Id: 2464231 Return-Path: X-Original-To: patchwork-davinci@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from arroyo.ext.ti.com (arroyo.ext.ti.com [192.94.94.40]) by patchwork1.kernel.org (Postfix) with ESMTP id 1663F3FD1A for ; Fri, 19 Apr 2013 09:57:46 +0000 (UTC) Received: from dflxv15.itg.ti.com ([128.247.5.124]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id r3J9rtRY028524; Fri, 19 Apr 2013 04:53:55 -0500 Received: from DLEE70.ent.ti.com (dlee70.ent.ti.com [157.170.170.113]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id r3J9rsiX011620; Fri, 19 Apr 2013 04:53:55 -0500 Received: from dlelxv23.itg.ti.com (172.17.1.198) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.2.342.3; Fri, 19 Apr 2013 04:53:54 -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 r3J9rrnJ029774; Fri, 19 Apr 2013 04:53:54 -0500 Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id 3B53880627; Fri, 19 Apr 2013 04:53:53 -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 3E2BA80626 for ; Fri, 19 Apr 2013 04:53:52 -0500 (CDT) Received: from red.ext.ti.com (red.ext.ti.com [192.94.93.37]) by dflp52.itg.ti.com (8.13.7/8.13.8) with ESMTP id r3J9rqmO020857 for ; Fri, 19 Apr 2013 04:53:52 -0500 (CDT) Received: from mail6.bemta8.messagelabs.com (mail6.bemta8.messagelabs.com [216.82.243.55]) by red.ext.ti.com (8.13.7/8.13.7) with ESMTP id r3J9rpcX002509 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 19 Apr 2013 04:53:51 -0500 Received: from [216.82.242.147:6713] by server-3.bemta-8.messagelabs.com id D0/AB-26561-F2411715; Fri, 19 Apr 2013 09:53:51 +0000 X-Env-Sender: prabhakar.csengg@gmail.com X-Msg-Ref: server-9.tower-95.messagelabs.com!1366365229!29074557!1 X-Originating-IP: [209.85.220.46] 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 21234 invoked from network); 19 Apr 2013 09:53:50 -0000 Received: from mail-pa0-f46.google.com (HELO mail-pa0-f46.google.com) (209.85.220.46) by server-9.tower-95.messagelabs.com with RC4-SHA encrypted SMTP; 19 Apr 2013 09:53:50 -0000 Received: by mail-pa0-f46.google.com with SMTP id lb1so2180368pab.33 for ; Fri, 19 Apr 2013 02:53:49 -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=5/PR2bs36boQrrL+PuBTBqc35vYHYd2YpjoYxAj19y8=; b=pSGGqsCGRLvyWt/5pq+BsV9T4pO5oBbIA5aOyywjQJeEzZoE7G48JnCIFP+w+jdyJF dz3O7ee513GT/3xJZ/o3AKGA/b2JFSUsYDJ2maO4xI/5pk5za8XzyV3ojM42FcxIJ5op IGAfagSceuvEn2lKUjnu5OZ5/8cqCwZxqkA0EyMgKm/pQiDaDxUV2ioCNq/geEvs96LF T1kvTILkwXjJBM8n/0hxRKLa5yuM00czMK153pW56F5dVIJ1vAh+GzxqhJLo3BTjfT7s xv6ZIwiUNUweSatjk64semT5h9nFjvzP5Beeb/GmjBGt9+cHc5ZuWk9lybIt5mxJy9cb kd9Q== X-Received: by 10.68.100.164 with SMTP id ez4mr18308665pbb.109.1366365229529; Fri, 19 Apr 2013 02:53:49 -0700 (PDT) Received: from localhost.localdomain ([59.98.241.1]) by mx.google.com with ESMTPS id do4sm12914270pbc.8.2013.04.19.02.53.45 (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 19 Apr 2013 02:53:48 -0700 (PDT) From: Prabhakar lad To: LMML Subject: [PATCH 1/2] media: davinci: vpif: remove unwanted header file inclusion Date: Fri, 19 Apr 2013 15:23:29 +0530 Message-ID: <1366365210-3778-2-git-send-email-prabhakar.csengg@gmail.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1366365210-3778-1-git-send-email-prabhakar.csengg@gmail.com> References: <1366365210-3778-1-git-send-email-prabhakar.csengg@gmail.com> CC: DLOS , Hans Verkuil , Mauro Carvalho Chehab , 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 unwanted header file inclusion and sorts header alphabetically. Signed-off-by: Lad, Prabhakar --- drivers/media/platform/davinci/vpif_capture.c | 19 ++++--------------- drivers/media/platform/davinci/vpif_capture.h | 5 +---- drivers/media/platform/davinci/vpif_display.c | 23 +++-------------------- drivers/media/platform/davinci/vpif_display.h | 5 +---- 4 files changed, 9 insertions(+), 43 deletions(-) diff --git a/drivers/media/platform/davinci/vpif_capture.c b/drivers/media/platform/davinci/vpif_capture.c index 5f98df1..a1b42b0 100644 --- a/drivers/media/platform/davinci/vpif_capture.c +++ b/drivers/media/platform/davinci/vpif_capture.c @@ -18,28 +18,17 @@ * TODO : add support for VBI & HBI data service * add static buffer allocation */ -#include -#include + #include -#include -#include -#include #include -#include -#include -#include -#include -#include -#include #include -#include #include -#include -#include + #include +#include -#include "vpif_capture.h" #include "vpif.h" +#include "vpif_capture.h" MODULE_DESCRIPTION("TI DaVinci VPIF Capture driver"); MODULE_LICENSE("GPL"); diff --git a/drivers/media/platform/davinci/vpif_capture.h b/drivers/media/platform/davinci/vpif_capture.h index 3d3c1e5..0ebb312 100644 --- a/drivers/media/platform/davinci/vpif_capture.h +++ b/drivers/media/platform/davinci/vpif_capture.h @@ -22,11 +22,8 @@ #ifdef __KERNEL__ /* Header files */ -#include -#include -#include #include -#include +#include #include "vpif.h" diff --git a/drivers/media/platform/davinci/vpif_display.c b/drivers/media/platform/davinci/vpif_display.c index 1b3fb5c..d833056 100644 --- a/drivers/media/platform/davinci/vpif_display.c +++ b/drivers/media/platform/davinci/vpif_display.c @@ -14,33 +14,16 @@ * GNU General Public License for more details. */ -#include -#include -#include -#include -#include -#include #include -#include -#include -#include -#include -#include -#include +#include #include -#include #include -#include -#include - -#include -#include -#include #include +#include -#include "vpif_display.h" #include "vpif.h" +#include "vpif_display.h" MODULE_DESCRIPTION("TI DaVinci VPIF Display driver"); MODULE_LICENSE("GPL"); diff --git a/drivers/media/platform/davinci/vpif_display.h b/drivers/media/platform/davinci/vpif_display.h index a5a18f7..5d87fc8 100644 --- a/drivers/media/platform/davinci/vpif_display.h +++ b/drivers/media/platform/davinci/vpif_display.h @@ -17,11 +17,8 @@ #define DAVINCIHD_DISPLAY_H /* Header files */ -#include -#include -#include #include -#include +#include #include "vpif.h"