From patchwork Wed Dec 5 10:05:09 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mauro Carvalho Chehab X-Patchwork-Id: 10713719 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 819D81057 for ; Wed, 5 Dec 2018 10:05:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 71654283EE for ; Wed, 5 Dec 2018 10:05:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6559728AC3; Wed, 5 Dec 2018 10:05:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E2FBD283EE for ; Wed, 5 Dec 2018 10:05:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728320AbeLEKFR (ORCPT ); Wed, 5 Dec 2018 05:05:17 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:49326 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728140AbeLEKFQ (ORCPT ); Wed, 5 Dec 2018 05:05:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Sender:Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=+mxfzg6UhPtWrtB97+lllG3nfhF1XlTbTaSfdDfLjpw=; b=keF49SW8BkEGgL0BwowJ9RPiA j1eTI9ENCwrKR6gUygkh4NeDd3DWnhU92ZPKMLUZWT22VKnwaffeEOYzlyUshObjVRBWcJ5hyCYnB PvSIziqZbKFo8xgNeLHpoK4kTGdtMmkMs9cVpVkOmPRjv/NDv817/WWtmv+COShrR2CDy7Ex4lJNV cXoWoNu2ikoRZlfLTMFyCNF1asAgcX8AfQz1nlz+PWG9bId09mSWtQPV927EmHECZtyA8k8gC0l9Q aTgoCHPD4RmKD/HkPn/DfvVRWPqLs7rf3+mXUtaIndYM95dlnOGY8xVRdTcF9HOwOFxgefnX29R73 mwAL0h0Yw==; Received: from [191.33.148.129] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1gUU3N-0004uh-Jl; Wed, 05 Dec 2018 10:05:13 +0000 Received: from mchehab by bombadil.infradead.org with local (Exim 4.91) (envelope-from ) id 1gUU3K-0003Jt-GZ; Wed, 05 Dec 2018 05:05:10 -0500 From: Mauro Carvalho Chehab Cc: Mauro Carvalho Chehab , Linux Media Mailing List , Mauro Carvalho Chehab , Daniel Scheller , zhong jiang , Jasmin Jessich Subject: [PATCH] media: ddbridge: remove another duplicate of io.h and sort includes Date: Wed, 5 Dec 2018 05:05:09 -0500 Message-Id: X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 To: unlisted-recipients:; (no To-header on input) Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The io.h was still included twice. Having a large number of includes like that unsorted is likely the reason why we ended by having 3 includes of io.h and two includes of interrupt.h at the first place. So, let's reorder the includes on alphabetic order. That would make easier to maintain it. Fixes: 12645e0655e4 ("media: ddbridge: remove some duplicated include file") Signed-off-by: Mauro Carvalho Chehab --- drivers/media/pci/ddbridge/ddbridge.h | 52 +++++++++++++-------------- 1 file changed, 25 insertions(+), 27 deletions(-) diff --git a/drivers/media/pci/ddbridge/ddbridge.h b/drivers/media/pci/ddbridge/ddbridge.h index 27b46fe704cd..0be6ed216e65 100644 --- a/drivers/media/pci/ddbridge/ddbridge.h +++ b/drivers/media/pci/ddbridge/ddbridge.h @@ -18,45 +18,43 @@ #ifndef _DDBRIDGE_H_ #define _DDBRIDGE_H_ -#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 #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 #include -#include +#include #include +#include #include -#include -#include #include +#include #define DDBRIDGE_VERSION "0.9.33-integrated"