Message ID | 20240214171044.3551032-6-andriy.shevchenko@linux.intel.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-65623-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp1439370dyb; Wed, 14 Feb 2024 11:12:00 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWedr/07/UtTjMFkAQfXhqxyAYSRSJxc9I1wlECZHyCdmhO7mX2IjQkh71q4vWQHDsPRLg1uQJq/0wryJkkySKun5XpGg== X-Google-Smtp-Source: AGHT+IF4vMTT+tuCxYrpiSYERFkz4UxYebJqFrRJnRhyKG5Ght92H1h5x9239LfwxxZ8KiqJAhQw X-Received: by 2002:a17:902:eb42:b0:1d9:6984:2b14 with SMTP id i2-20020a170902eb4200b001d969842b14mr3545725pli.46.1707937919792; Wed, 14 Feb 2024 11:11:59 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707937919; cv=pass; d=google.com; s=arc-20160816; b=dh+AaLEeUastwILZfsxnIyxBml1SYM+qFXCy+hgrX444vpEHWSL5xFIkHQxGmqqazy dGSUv7JT6zfhBTNoPYaI+7r7FmN8+kIUwGvDWxk5rHTtHDOcV0HH8d08GvPHM23pY68q r+HmhkohvZQsR022z7l8AJkmrWUhdb4yFDD3FrQfAIeExxAj6PQu9/Nr2l8SG0hvySsm A+Ug5ir6za1Lv0W6+gIay3Z5eqx78WJbASTq/0K/q/9B15zk3zQDx4mZM+Gb5YHjqHzM oGU5tqHjjSJRo2+qxs6C3nPsFFpSaCxZ7vADYMqBnn9MPx/cc3q455wWwzZ2tapLJlwQ f8Ww== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=KWBkGSIeu78EQF/K92E1Iz8q67cp4sE7U4nucUrvMCA=; fh=6h6HxvjuSZNHCn6J3k/eMDqv1wLJloVQd+MC9yVSpCs=; b=0DkTmgqu3HTUXRlHpigJX1I72LzfsIz6ro8t7hY4NSrBuUL56s1ruzDCismtfgSmTO I/flxhT9Fo+ttNo3wOue7Sj1yMgUkxdtUP6SzIZboeFfhWywP8cWiDqC4flDwd1TkYEN 1Vf1fZ2kITNG9ifzpag+D0D+QXMnTMVxkGLAZl+2wP+rpZRzDykdibrp4+TwVpEbKbBh HhDE6lwxb0dBJ5HzUvOTWd+PHsXDxlMx8AhrknJZuiqVsLl6Mdtmn/8tpz2aghTXnYl4 DUIKEt3YKzmlWyGVHNTTEyDqpLFj0idOJfGHFF8cBLQ1WzxZQ64bNv6vsAD022QGyTgK qmlQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=lwVTDd3L; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-65623-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65623-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com X-Forwarded-Encrypted: i=2; AJvYcCXJfH+UnLv/djgDPDtt9kukK/dJv2fz53fU4cXfkGsVW00lDPHOhVBNIlx0Ge9ixuZrnywQYJjshXGCY7SG03lP8NK8GQ== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id c8-20020a170902d48800b001da2a3e4b27si4347095plg.294.2024.02.14.11.11.59 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 11:11:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-65623-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=lwVTDd3L; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-65623-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-65623-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id EB40028D814 for <ouuuleilei@gmail.com>; Wed, 14 Feb 2024 17:12:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BCE4E629E1; Wed, 14 Feb 2024 17:10:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="lwVTDd3L" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9C6ED60DD7; Wed, 14 Feb 2024 17:10:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.9 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707930657; cv=none; b=dmfXkG4c8Bijn7QRZbR0OQ/QIpA5CU+slWN4fUksXnQbi3Iyg4wzSad9B4OT2rr+CMjOBgkVQPfw1cKpICXZMD9CAlGtTT2mMU1iMKh7f+ZatKVurgvR9MWykwCpSY3i4ioI83V2GBxLUyxEXqmPjp0OByMtaisrSx2eJVN947I= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707930657; c=relaxed/simple; bh=cWneu4cGadnP43AtfM005VSnasQf0LJKmBQueS3iyM0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=VDCX1cReGgi/JWzaJe7xWgi03QFNdWcsQS7FHoiQZC2SH6J5NW/9EJTAlPTsqYakc0gF2ZvkLipcANqmsimWkBU5tyQMsaqDVs/fYAFKPFOmcjhTCVeM1Ps+XBvGX+Un/nSot+AXyXeZPuum5s6JIHCGZdYjrO3ox3loQzeP3DQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=lwVTDd3L; arc=none smtp.client-ip=198.175.65.9 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1707930656; x=1739466656; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=cWneu4cGadnP43AtfM005VSnasQf0LJKmBQueS3iyM0=; b=lwVTDd3L01cP5pIsqSOlhggcwtfyQMNKyN3xpayznZXYpx5n4kw/Y9go 6ly/VQnMNlX28+bSrtYZuwUTxgRDYGRZ4XeLp4fo5b9CxL48Ub0einC1M GNKp6kVEvqhd3JNmcD2BuRQrjy+Kd6SdCAt7NPkRB4kORcF+6/Z1VRCxN kMgf5Jd4fa4hOn8ItgWIeDqpn4wWp0jrdSlkye6kpUY3QREl5+bBLJFLz bMW9fmqQsLikGMC9XSbtEcuKK9kDYdHc7bP5poG3N4KqlHqdmYGOM6I4g 98oFO4M69YBBrvrrpunOoPfbFX2iRUQ4K+CjG9XRRBfySonqbWw6w0MMy w==; X-IronPort-AV: E=McAfee;i="6600,9927,10984"; a="24458033" X-IronPort-AV: E=Sophos;i="6.06,160,1705392000"; d="scan'208";a="24458033" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Feb 2024 09:10:54 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10984"; a="935617219" X-IronPort-AV: E=Sophos;i="6.06,160,1705392000"; d="scan'208";a="935617219" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga001.fm.intel.com with ESMTP; 14 Feb 2024 09:10:52 -0800 Received: by black.fi.intel.com (Postfix, from userid 1003) id CF7E9338; Wed, 14 Feb 2024 19:10:48 +0200 (EET) From: Andy Shevchenko <andriy.shevchenko@linux.intel.com> To: linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Jiri Slaby <jirislaby@kernel.org>, Andy Shevchenko <andriy.shevchenko@linux.intel.com> Subject: [PATCH v1 5/5] serial: 8250_exar: Don't use "proxy" headers Date: Wed, 14 Feb 2024 19:09:38 +0200 Message-ID: <20240214171044.3551032-6-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1.gbec44491f096 In-Reply-To: <20240214171044.3551032-1-andriy.shevchenko@linux.intel.com> References: <20240214171044.3551032-1-andriy.shevchenko@linux.intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790902712143902046 X-GMAIL-MSGID: 1790902712143902046 |
Series |
serial: 8250_exar: A few updates to the driver
|
|
Commit Message
Andy Shevchenko
Feb. 14, 2024, 5:09 p.m. UTC
Update header inclusions to follow IWYU (Include What You Use)
principle.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
drivers/tty/serial/8250/8250_exar.c | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/drivers/tty/serial/8250/8250_exar.c b/drivers/tty/serial/8250/8250_exar.c index 3913b8a99161..0afd33a9cf0d 100644 --- a/drivers/tty/serial/8250/8250_exar.c +++ b/drivers/tty/serial/8250/8250_exar.c @@ -6,20 +6,24 @@ * * Copyright (C) 2017 Sudip Mukherjee, All Rights Reserved. */ +#include <linux/bits.h> +#include <linux/delay.h> +#include <linux/device.h> #include <linux/dmi.h> +#include <linux/interrupt.h> #include <linux/io.h> -#include <linux/kernel.h> +#include <linux/math.h> #include <linux/module.h> #include <linux/pci.h> #include <linux/platform_device.h> #include <linux/pm.h> #include <linux/property.h> +#include <linux/string.h> +#include <linux/types.h> + +#include <linux/serial_8250.h> #include <linux/serial_core.h> #include <linux/serial_reg.h> -#include <linux/slab.h> -#include <linux/string.h> -#include <linux/tty.h> -#include <linux/delay.h> #include <asm/byteorder.h>