Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4917672imm; Mon, 11 Jun 2018 22:42:29 -0700 (PDT) X-Google-Smtp-Source: ADUXVKL8mjYLD8A9WbMMRHY3Lp/GY0FKWH97lXKw8lTcMIdGqC8oDjK5XwvSPxtw7QDipvCoBPvE X-Received: by 2002:a62:e005:: with SMTP id f5-v6mr2340897pfh.88.1528782149271; Mon, 11 Jun 2018 22:42:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528782149; cv=none; d=google.com; s=arc-20160816; b=V6Ph4AZqoyjmkiq4wejwFODvqMeVZksPHlvMPCKQDW2l8RYEzJ51qNGv/rbPmQFsTf D6OpBAbZm8/WJb6k5Y69H7E44+cduOaZ7nxnEgFcUZ/8frfK04bHCScyvEl7GIxmGCJI AGWJFmUt6WiaBTBeusayONLnAc1hezaCFydIKYt59qNdNJgTPerJgjv2OvN+vIxu6RbM n/hkqBokUUnxfyaEriZKNttFUkaKdMtOgWkgxe+yDYON4571U7I5NeqPoqqiG74RomOF 3mnM/5bWwS3E90PRN9OpVrVn+SvkMU+EgrKaW1sje+WegTkFVyHuXfJ4SLYVeFNZ8AgG QE0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=HU0/4u9SzdJ2G4r3p4hFIgpy5zG3odPKY3fcDT7toNo=; b=IEuZZ5n+Z23fZDzC93n2Sh4sK0zrM74S2BpDHOsG0VbgJHz5OJlpahTEcju3gjq3dI fOkmQV1AlUciR1cnya/1lfNZZRUQ7r9EJa+yEHZGGdUOBV/X4xopCfjm1rp0uM2xnvJg rUOAtf87nRzG/J6GxgB5i3nyYipiu+cNoyWhXJMwOXnwyK0m9FCxgs2rokLJTfEDwMs5 n3ANJAwpEMSNNbZfH6wiJSpNRzLJOn4ir9FczMWbsm+/ZU9JyxTWsZSLsI5f9v8okPyH JIc6Q5nHxKU5ohvVMy5fxoBexVVcinC7GwjBn9b9aM3PElUeviCteCh7U1nwQYxnb8gM VsXw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v69-v6si46426pgb.609.2018.06.11.22.42.14; Mon, 11 Jun 2018 22:42:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933410AbeFLFlg (ORCPT + 99 others); Tue, 12 Jun 2018 01:41:36 -0400 Received: from mga01.intel.com ([192.55.52.88]:5559 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933327AbeFLFl2 (ORCPT ); Tue, 12 Jun 2018 01:41:28 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Jun 2018 22:41:26 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,213,1526367600"; d="scan'208";a="236658441" Received: from sgsxdev001.isng.intel.com (HELO localhost) ([10.226.88.11]) by fmsmga006.fm.intel.com with ESMTP; 11 Jun 2018 22:41:25 -0700 From: Songjun Wu To: hua.ma@linux.intel.com, yixin.zhu@linux.intel.com, chuanhua.lei@intel.com Cc: linux-mips@linux-mips.org, qi-ming.wu@intel.com, linux-clk@vger.kernel.org, linux-serial@vger.kernel.org, devicetree@vger.kernel.org, Songjun Wu , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Jiri Slaby Subject: [PATCH 6/7] tty: serial: lantiq: Remove unneeded header includes and macros Date: Tue, 12 Jun 2018 13:40:33 +0800 Message-Id: <20180612054034.4969-7-songjun.wu@linux.intel.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180612054034.4969-1-songjun.wu@linux.intel.com> References: <20180612054034.4969-1-songjun.wu@linux.intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Update the author list with Intel Corporation. Sort the header includes in alphabetical orders. Remove unneeded header includes and macros. Signed-off-by: Songjun Wu --- drivers/tty/serial/lantiq.c | 29 +++++++++++------------------ 1 file changed, 11 insertions(+), 18 deletions(-) diff --git a/drivers/tty/serial/lantiq.c b/drivers/tty/serial/lantiq.c index 72aab1b05265..cc33208c93ac 100644 --- a/drivers/tty/serial/lantiq.c +++ b/drivers/tty/serial/lantiq.c @@ -6,24 +6,23 @@ * Copyright (C) 2007 Felix Fietkau * Copyright (C) 2007 John Crispin * Copyright (C) 2010 Thomas Langer, + * Copyright (C) 2017 Intel Corporation. */ -#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 @@ -43,7 +42,6 @@ #define LTQ_ASC_STATE 0x0014 #define LTQ_ASC_IRNCR 0x00F8 #define LTQ_ASC_CLC 0x0000 -#define LTQ_ASC_ID 0x0008 #define LTQ_ASC_PISEL 0x0004 #define LTQ_ASC_TXFCON 0x0044 #define LTQ_ASC_RXFCON 0x0040 @@ -51,16 +49,12 @@ #define LTQ_ASC_BG 0x0050 #define LTQ_ASC_FDV 0x0058 #define LTQ_ASC_IRNEN 0x00F4 - #define ASC_IRNREN_TX 0x1 #define ASC_IRNREN_RX 0x2 #define ASC_IRNREN_ERR 0x4 -#define ASC_IRNREN_TX_BUF 0x8 #define ASC_IRNCR_TIR 0x1 #define ASC_IRNCR_RIR 0x2 #define ASC_IRNCR_EIR 0x4 - -#define ASCOPT_CSIZE 0x3 #define TXFIFO_FL 1 #define RXFIFO_FL 1 #define ASCCLC_DISR 0x1 @@ -71,7 +65,6 @@ #define ASCCON_M_7ASYNC 0x2 #define ASCCON_ODD 0x00000020 #define ASCCON_STP 0x00000080 -#define ASCCON_BRS 0x00000100 #define ASCCON_FDE 0x00000200 #define ASCCON_R 0x00008000 #define ASCCON_FEN 0x00020000 @@ -80,7 +73,7 @@ #define ASCSTATE_PE 0x00010000 #define ASCSTATE_FE 0x00020000 #define ASCSTATE_ROE 0x00080000 -#define ASCSTATE_ANY (ASCSTATE_ROE|ASCSTATE_PE|ASCSTATE_FE) +#define ASCSTATE_ANY (ASCSTATE_ROE | ASCSTATE_PE | ASCSTATE_FE) #define ASCWHBSTATE_CLRREN 0x00000001 #define ASCWHBSTATE_SETREN 0x00000002 #define ASCWHBSTATE_CLRPE 0x00000004 -- 2.11.0