From patchwork Fri Feb 23 20:30:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 205724 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp900408dyb; Fri, 23 Feb 2024 15:35:15 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVck0mHXnYZqyIu6Y/q1w87IIsobdcwBMk+wvjQtvo/Cu4zi7nA4StC6ISXUOg2vib0/AjKJycqBwLGyEJrWTAE4OOsVA== X-Google-Smtp-Source: AGHT+IFqSYL1LZltjEjM9yoSqRZYktPMud6T+cMFoaraS8XOt9odrixqqSbv2//3hTjO6MctCS7G X-Received: by 2002:a25:c511:0:b0:db9:9537:2c39 with SMTP id v17-20020a25c511000000b00db995372c39mr1373077ybe.2.1708731315342; Fri, 23 Feb 2024 15:35:15 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708731315; cv=pass; d=google.com; s=arc-20160816; b=DGl+kjk0gog+FXlpGUX9gdJS3al2mFVatht9Eldv9z+vcFjYHbWA1bCe+XjlWKEOZn TycsJ7f//MeQsNP1d9e19Q6Za4naqdk2XYWhgRnJFe8UBdnEc0i67KpQNYwwIsKh9jLJ WrmNoOcDSoZw+tnrJETpLLwYyT6gkA4lHLwxJtMEbBD7y+ADbmoNTC3BxzTwrCJH4c28 0BbNqy6mbdzy2KzctBWt7oIksmYHXy6VZ1i8gIsRAODoU/DCMwAP+2EpwOItxNAYTCtb qFCBkaf2guyylzaAkFi4aON/Po0XNMsF1e9DWiSU9NtUU/jK4mqst4CBiFSKwOPTAcaq Nb3w== 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-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79106-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id t4-20020ac87384000000b0042e581daf44si10736qtp.707.2024.02.23.15.35.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 15:35:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79106-ouuuleilei=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-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79106-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 111FB1C24EFF for ; Fri, 23 Feb 2024 20:30:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C8ABB149381; Fri, 23 Feb 2024 20:30:19 +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_Mihanovi=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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791724708780726519 X-GMAIL-MSGID: 1791734647723219311 Update header inclusions to follow IWYU (Include What You Use) principle. Signed-off-by: Andy Shevchenko Reviewed-by: Duje Mihanović --- 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;