From patchwork Fri Feb 23 20:28:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 205754 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp934017dyb; Fri, 23 Feb 2024 17:16:44 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVJ6ZF3OMAc6GwpxqLLkxdDVdSiX5x1p51qqo353hNv1mgoejryiXkwO+LgtLeb531FLickMqXWs1+YAEhUbPROX028YA== X-Google-Smtp-Source: AGHT+IGvyoEEgY5UejSvST41rhjR+3Ln+juTH6fb3ijfKlEay6U6sgvgjUCk3eP1ys4oL+EE5O6u X-Received: by 2002:a17:906:c346:b0:a41:39c1:116d with SMTP id ci6-20020a170906c34600b00a4139c1116dmr1292852ejb.5.1708737404279; Fri, 23 Feb 2024 17:16:44 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708737404; cv=pass; d=google.com; s=arc-20160816; b=hKRa+nH0YXSe4TcRdgqP5DtpQBw09UMyjCiDjRWnj7PsP1B0bacuQ6dx7rrbVDSwIZ beGI6+OdeMkb87zrJbUTxDstzTfj7FExiptYDCF64g1RuNV2kZM74LQl3B1rgo9C0ofu uk7wd72j82aH62Q5Xf0FuRpzhvZMMu2LrXi+4qnJlvHz7DgxMtPKlcPL0YPjEWNpVOfR qM4sJX7lZpVWdXrLI7EoXSbnUJxCvgCT/rQKzB5tg+h1OPjwXwA4CnzGFC9AQlB0bRuo UFMZz6OKeBGKQYu0L9ZtsXvmUM/zGb9vWv0BCKPrkCWDnDNbFGIGkow/0+K0g0nUqFFd uBTg== 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:message-id:date:subject:cc:to :from:dkim-signature; bh=weUBrQDxWrboWI630co4JFeKhZ5TK3pK4qv6NNFWYp0=; fh=pZHmVWlKM5hQMAmxZiZnXxgLEoAc0rzTwUSYOfTACqg=; b=JVpnBvhmbW2r5uoBt+nGBoNBAuotQ3zIvxtMLLwieHSS3bRLRpuRlZ4AhstUZPM0S1 R2YDFR3uQIkAgR0zqgogOgZIR63TfNIHqYtc7Kqyz9nY0eWV/WhF0vW5pQJpFVP5CFY5 7agkDRXNkXA3BnbF2sv4C3FS+s93+BiMn/V9SH+MXx0Q1tXTCEINccuK7spOzXdIr/18 DNoawrU+eq3kNtGkT70qJvBvsXBP0ps44T1bS8EXTXbAKf+5WvSw+zHaW1XzjRyNNWQm S6ERpwjvX/6M85STPpWwq9GVN6n7zVMzQ4/P4yIGNSmWejWPfxNFIJJAH3eby55N4Mlh kQ5Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=PrBGB+Pt; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-79105-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79105-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id i9-20020a170906264900b00a42eb04e692si68064ejc.80.2024.02.23.17.16.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 17:16:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79105-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=PrBGB+Pt; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-79105-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79105-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 08B971F23D9B for ; Fri, 23 Feb 2024 20:28:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BE245146E8D; Fri, 23 Feb 2024 20:28:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="PrBGB+Pt" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.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 B1916143C63; Fri, 23 Feb 2024 20:28:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.9 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708720107; cv=none; b=DQHOvE6f/z6/dUNA78PC+Ys1YpzladWmIYeQTxHyBAkLtkG1hiIv1efwidY7dFPNRDPd5B4vtx+9cGeIEYjrbAKpO5hWCbqPBmk+RjZ7DMgtxWCiE2BJdoUfoE2Wfoaoan6UbPUr1TZK+JglxBpZhNcQbYVHfSQlW5Bl2/4sncg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708720107; c=relaxed/simple; bh=X+QPIuS/gA9uBqcR8AeIe4WwFzeO2SwHTyFgIoUO3Ng=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=MO72+QdlzBznq5YaE/Z8ssgLVJdCMRPDkBTsLSmv/nbtw3GozYUx1woXIcboSOyV06vCJxgRo83LO0b4Z9J+PaYYf/mn9PC1OV+65wyawHnLPkZtGixQXB99u8euwdN3n8LLdOTv9jgXn+jR5fZlrmkn0qW7k1JQMcUcLkSIrvg= 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=PrBGB+Pt; arc=none smtp.client-ip=192.198.163.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=1708720106; x=1740256106; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=X+QPIuS/gA9uBqcR8AeIe4WwFzeO2SwHTyFgIoUO3Ng=; b=PrBGB+PtvMTCeIy1a0pR6logVL2JAgOg1+tBLbrx1ySsoJUkCFUEhxw/ wJBfgElxcZhNnGaAz3MaeavyFFK8D+ztWPa/bJLEFYa5fjNQSTG1HmByF aTa+YUMRh5SBD5JrI7u0elWt4wIp0OakORSbKHfd52n13i29OFN3t9lnO 3sCJ90/Njb7GZCiOqF68kriJYq/7J2jbP6RX7TUYyyLKjN8d4zaM0yZnW 8Al7pyIOZcnD+zhTAdvhejX4kC6MS5ioWzHy88klNTVQoopGgSmDixkkx eAZqiloNi+RBgQxacOFWtLghZoMNhD5bsgk1N3bdz0BgyE5cLd9CxgICH g==; X-IronPort-AV: E=McAfee;i="6600,9927,10993"; a="13757930" X-IronPort-AV: E=Sophos;i="6.06,180,1705392000"; d="scan'208";a="13757930" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmvoesa103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Feb 2024 12:28:24 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10993"; a="937025698" X-IronPort-AV: E=Sophos;i="6.06,180,1705392000"; d="scan'208";a="937025698" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga001.fm.intel.com with ESMTP; 23 Feb 2024 12:28:22 -0800 Received: by black.fi.intel.com (Postfix, from userid 1003) id F24F934C; Fri, 23 Feb 2024 22:28:20 +0200 (EET) From: Andy Shevchenko To: =?utf-8?q?Duje_Mihanovi=C4=87?= , Andy Shevchenko , linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Pavel Machek , Lee Jones Subject: [PATCH v1 1/1] leds: expresswire: Don't use "proxy" headers Date: Fri, 23 Feb 2024 22:28:16 +0200 Message-ID: <20240223202816.880938-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1.gbec44491f096 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791724708780726519 X-GMAIL-MSGID: 1791741032183171537 Update header inclusions to follow IWYU (Include What You Use) principle. Signed-off-by: Andy Shevchenko --- drivers/leds/leds-expresswire.c | 3 +++ include/linux/leds-expresswire.h | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/leds/leds-expresswire.c b/drivers/leds/leds-expresswire.c index 89e147b0e019..8176356aafac 100644 --- a/drivers/leds/leds-expresswire.c +++ b/drivers/leds/leds-expresswire.c @@ -6,7 +6,10 @@ */ #include +#include #include +#include + #include void expresswire_power_off(struct expresswire_common_props *props) diff --git a/include/linux/leds-expresswire.h b/include/linux/leds-expresswire.h index 3c61902ccac8..a422921f4159 100644 --- a/include/linux/leds-expresswire.h +++ b/include/linux/leds-expresswire.h @@ -8,7 +8,9 @@ #ifndef _LEDS_EXPRESSWIRE_H #define _LEDS_EXPRESSWIRE_H -#include +#include + +struct gpio_desc; struct expresswire_timing { unsigned long poweroff_us;