Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp151462rbb; Fri, 23 Feb 2024 15:35:14 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUgtRxQiLufi8pzh4DeP53ScGsAg+GuOiWBNmsEsk0HiE6hVJVzjvTR4LozLgtk5Nkcnl8xCEz0j+eebR4Mu5EUwgozdK4wCtkw/p8d4Q== X-Google-Smtp-Source: AGHT+IE4fqEEITA4dd/dxoAFICBJYziGFH/KKjX34cMsLwAQs2dfnC6sKN6WT6dd6K05nSlfOM/A X-Received: by 2002:a05:620a:24cf:b0:785:cac7:4e79 with SMTP id m15-20020a05620a24cf00b00785cac74e79mr1446134qkn.13.1708731314297; Fri, 23 Feb 2024 15:35:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708731314; cv=pass; d=google.com; s=arc-20160816; b=oj1So9A96jIXeOsPc/fWiWt3dbz6DHklbQNpQL1bdQjwcxbILWsS/5WFxC51pPFEhh uFRwx3nUdjAoil1eBTF6jmZUu8fYUlw91K8zdSCfnGJxWOahOCgx2Xb5mqULE/V9Vn9Z /pSZMU+A0tQITHRRsONIZ5UdOrHzOq8ftzydF3cLzdrUu++hpIAATbiSSwPKB5cNBt8F uHEGEWuvjeSNPvM4ijiah3uFBfQpXlxM52czgl4Z/jNxE2Y5p8i/+Yi+C4qgeFzuk1zc xDr/bVlaofteUDUi2Ddsj+OUfOON6Q7XqRl/1NsA3M+9hlOhKXsyF9PUUUV8GTmgZUet m75A== 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=lQF4xO7YImx7CQvFSzwSwonF/jtWdUjSKyHp1EgxVHA=; fh=pZHmVWlKM5hQMAmxZiZnXxgLEoAc0rzTwUSYOfTACqg=; b=QpwQ/SllDX55kVMz3M+PWS/Hz/K6+U3G9FeOjp/VV1hKPrLC07xowUBtqyA/gIIaPu lRpu1qf+vfWYSka8Rt9D1CWql7n/KwOV4q0bdW6idlcf7eKonDIK1ekYIdIrmCOfwiLU B6zKxnNpeHkORMR09KkGOwvS6QjM7mMf74mdJwyESltdB3qsmO5O3im5LxVy7hBQ3bsb 8UiV9djreCRQYF9+NKtG235EkcveB4padWqgInTU862L2b6rXcDwLpQsn1+zKozMqAau 3iHPtHR7MXh8Ev85EN1bJwUhUG0rc0EONvP2TUV6ZA+Wg6Q4b5V23DA5iG7fOUZ2qvKZ H+pA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=nzSAA1Oo; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-79106-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79106-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id b20-20020a05620a04f400b00787661fd042si12582490qkh.525.2024.02.23.15.35.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 15:35:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79106-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=nzSAA1Oo; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-79106-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79106-linux.lists.archive=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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 68C501C21E87 for ; Fri, 23 Feb 2024 20:30:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0A2AF1482F1; Fri, 23 Feb 2024 20:30:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="nzSAA1Oo" 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 0F828146E96; Fri, 23 Feb 2024 20:30:14 +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=1708720217; cv=none; b=b78Y50li7VgaxWmaAoMwddaRG8UgSzW4mMfc6Y0qdqbLJSAqxt8KT67C26CQ2Gy21b5RqaCoKOfrpNUq2z2PyKo5BgvQVpXEtcKKp+0biUT5Jjy/zlB+FxaNMCVG3qDoq1zxm/QHJ+VjV29dEnPzQQ7I8/S96HEjJfZIGohbrsE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708720217; c=relaxed/simple; bh=Ha3KeLTITa/qwislXa09L9QKN+hTvp4TmZbpeNy2fNU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=hByUr/+jGQxtI+Q66oGPcPiAv7yrThOvxN+syDBtEzymnQvJ4cs9ypx9RVvXEXJMLPjt/xGXdViu6Ji7FopT7/bQyhb+amutrN81vz23Or06UBbH/xlByJfRnpqwFsKtA/cke8cKHxGnwYBvc8a56cWqTya4Qbt3mUVC1pPlY74= 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=nzSAA1Oo; 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=1708720215; x=1740256215; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=Ha3KeLTITa/qwislXa09L9QKN+hTvp4TmZbpeNy2fNU=; b=nzSAA1OoHcwdxwUo4BnepSrlE+Q+0VCjt/algpYHCXjQ98rEbgAaR9kM lMM1VFOemAu9Nisa1QvmYhKftBHTbPlt3/pUzDBP8k8BhhIq6s4+GRbed 4MEowGd0c/7z/W9GatIi14PM7XMpXEfHoUeyhdpQ8zWFg+b+5bu4TO6IC xR/RRYpN/UrDXFlfU9TKwK2vjbz/1wi0MuHi2PQpZvsZPjvI3qYB6Qfh+ tiwU7WptaqE+ONzYrfosrO8gBcRqO0TSNdisn7LUIyjGGE2BAnb2k91lh HMB++MdmI+E/2ixfujdQnon+Ktkef+fBxeXi4PZ8tdSU7/qDl866TYBmy Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10993"; a="13758102" X-IronPort-AV: E=Sophos;i="6.06,180,1705392000"; d="scan'208";a="13758102" 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:30:14 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10993"; a="937025702" X-IronPort-AV: E=Sophos;i="6.06,180,1705392000"; d="scan'208";a="937025702" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga001.fm.intel.com with ESMTP; 23 Feb 2024 12:30:12 -0800 Received: by black.fi.intel.com (Postfix, from userid 1003) id 6B9F534C; Fri, 23 Feb 2024 22:30:11 +0200 (EET) From: Andy Shevchenko To: =?UTF-8?q?Duje=20Mihanovi=C4=87?= , Andy Shevchenko , linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Pavel Machek , Lee Jones Subject: [PATCH v2 1/1] leds: expresswire: Don't use "proxy" headers Date: Fri, 23 Feb 2024 22:30:00 +0200 Message-ID: <20240223203010.881065-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 Content-Transfer-Encoding: 8bit Update header inclusions to follow IWYU (Include What You Use) principle. Signed-off-by: Andy Shevchenko --- v2: added one more missing header drivers/leds/leds-expresswire.c | 4 ++++ include/linux/leds-expresswire.h | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/leds/leds-expresswire.c b/drivers/leds/leds-expresswire.c index 89e147b0e019..e4937a8e0f44 100644 --- a/drivers/leds/leds-expresswire.c +++ b/drivers/leds/leds-expresswire.c @@ -5,8 +5,12 @@ * ktd2692 and ktd2801 are known to use this protocol. */ +#include #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; -- 2.43.0.rc1.1.gbec44491f096