From patchwork Fri Mar 1 18:00:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 209054 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:fa17:b0:10a:f01:a869 with SMTP id ju23csp103813dyc; Fri, 1 Mar 2024 11:21:02 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUpZxXHmpR0zA6PCYwzOobuzZTZRGlvHmijV2yl9pNAFVF0T+jzxO3H1TinzS8zY1bCBJwdwS2E8EXWJwnVkjhvgbfLwg== X-Google-Smtp-Source: AGHT+IHHnNUhDlaoYzk5e3BcE+kHnu4T7cQBfJP3u+HljIREM8VrqAsWoC/gpv78TV3VVo7iGpRw X-Received: by 2002:a67:e2ca:0:b0:472:4fd5:1dc1 with SMTP id i10-20020a67e2ca000000b004724fd51dc1mr2516119vsm.14.1709320862137; Fri, 01 Mar 2024 11:21:02 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709320862; cv=pass; d=google.com; s=arc-20160816; b=LcYbRSwyO2z11yu7PL/j1zQ4WifGVpjgOetdboNmT1RBD9eMVEh0uz2WVJJ0Dd1IZ1 YlcgS6o/zg/5kW2xhqL46briQKh1Cz3PoNEA/mcDTUUOEAfNjOFgwNnIXv+5Cl7ps1NL kBOKN4Z4An4Wq0pe4cuAo1ER0nlP8GJg56AHgY3yjmkK3uHp72RmDR8cX60Uh/HYEIGV 7ciPSynVLOiIBaLsPPhR60PQizJHNds8IPnHouRHYDAAN3AZVVftulpQz+0HeQhUkYMz djjiLXoo8zpEVC85/TPYJtSM/HOlhuIvDkLX570klvNniMzG7K5i/0l6gKpzmq/lCGgw riDQ== 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=X/a6acWNOXbAkg802uhVJRlwTM9D2VWm0PvZweWHPxk=; fh=d6UeHe8qxDDtxLngmWOFNtmbMJdlxtnd/sDU+vQf2U4=; b=Ktg+E4o+1ihqsz87srFWs481uohBks/RsWXYIgME4lsFhHnynoW51HojNvmPGFNasN Us5IZi5NED3OVd9X9r+3AbBy6m+yng68zDuR2fS3wnH4s/HR/aLJ8n9Yx0IPQNkB4Oxk kl62BJVKGV/b28H++KHZTvsqLuT7IagijYWiJe5TPMXRSaT3PLhzMu2evBmYC5dvySlS prUzXwchgP++g1qGfLosu96W43jAGI4KzVazQUIqo5dbDkmOHKRDEAgsSnZAEJ78raqG +mReHnXVkROBD0vA0TR7N/pS8MgL6tmWqhKK+IJgdUCj0yxcmBKxo3p5ayeRkgeO/wBb Lkgw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=AW8e37CR; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-88883-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88883-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 w7-20020a05622a134700b0042ec2ab844esi3444506qtk.779.2024.03.01.11.21.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 11:21:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-88883-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=AW8e37CR; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-88883-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-88883-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 2E1211C2577D for ; Fri, 1 Mar 2024 18:03:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 10D2139FFE; Fri, 1 Mar 2024 18:02:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="AW8e37CR" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.15]) (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 7D05418C05; Fri, 1 Mar 2024 18:02:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.15 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709316130; cv=none; b=XSd42mCng1RuTzdTShBxKKnbsLEXXU5eNP9PSqiFaO+SUbULj9ujsqIUNn/WTQBamYVEg5AC0aZfo/upTw5K+r5UMDe9yiBZmkILFl1Gi445sLx8gwyMbBsNsSS161ua8jc5mH0dA41EeeZtpEYGapzRQXrTMI5VeG98F3Vfx1I= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709316130; c=relaxed/simple; bh=M6HgetbOB4Qie85fj5S+id3KjUoO4wwWwiWoU9zE7fw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=P3GaFJwpoOljpBuLrkM4AnwhM415YKpP4K+RtcvnoJVTXPiYqZw1YHgzQ4sYlhnbdqzrhhM+mBVG99q7sqCvaxIe8hQq5JBG8XklLN+zrZDehRDmwfm1GiL7joePvcP9ctRQ6PNTNTFMB/SRvGqkaBjOxLVvGvUNBCQI1YRbTuM= 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=AW8e37CR; arc=none smtp.client-ip=198.175.65.15 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=1709316129; x=1740852129; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=M6HgetbOB4Qie85fj5S+id3KjUoO4wwWwiWoU9zE7fw=; b=AW8e37CRvhpseyqX3RkoAzoZIacm7uaEehgoLHnxPXqa1wpj72uMA0zV npAQm3QP37Gy7aa+jHIY30q1+h54xFWbcs3/dcyIRG9Lz2cYjsCJfK6qZ e2gey7OjJ77BJa5eUo0WlNVuZA3N49MTgkD5HBpYO+PfA5vWrFmVOJ0Io Ng6p02f/hVTUgbuxfy+zub76ggwcZ/bt5wC/J44blO0w9Pbi5qJmovOko 74+3W7Tnpsl2FCDigpP/LjA2gpkiQB1Wvg3dDMv1iuSmN+aL/vWc8NkYf j7PrOsBUUIYUYDtNNtUqDsGo6zCmzMuKQZo9DfFA81DI5L+6rnWIqwujN w==; X-IronPort-AV: E=McAfee;i="6600,9927,11000"; a="7684811" X-IronPort-AV: E=Sophos;i="6.06,196,1705392000"; d="scan'208";a="7684811" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orvoesa107.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Mar 2024 10:01:45 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,11000"; a="937037845" X-IronPort-AV: E=Sophos;i="6.06,196,1705392000"; d="scan'208";a="937037845" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga001.fm.intel.com with ESMTP; 01 Mar 2024 10:01:42 -0800 Received: by black.fi.intel.com (Postfix, from userid 1003) id 517B05F5; Fri, 1 Mar 2024 20:01:41 +0200 (EET) From: Andy Shevchenko To: Greg Kroah-Hartman , Andy Shevchenko , Christophe JAILLET , Sakari Ailus , "Rafael J. Wysocki" , linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org Cc: Daniel Scally , Heikki Krogerus , Len Brown , Jonathan Cameron Subject: [PATCH v4 4/4] device property: Don't use "proxy" headers Date: Fri, 1 Mar 2024 20:00:08 +0200 Message-ID: <20240301180138.271590-5-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1.gbec44491f096 In-Reply-To: <20240301180138.271590-1-andriy.shevchenko@linux.intel.com> References: <20240301180138.271590-1-andriy.shevchenko@linux.intel.com> 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: 1792352832071182127 X-GMAIL-MSGID: 1792352832071182127 Update header inclusions to follow IWYU (Include What You Use) principle. Reviewed-by: Sakari Ailus Acked-by: Rafael J. Wysocki Signed-off-by: Andy Shevchenko --- drivers/base/property.c | 11 ++++++----- drivers/base/swnode.c | 13 ++++++++++++- include/linux/fwnode.h | 4 ++-- include/linux/property.h | 1 + 4 files changed, 21 insertions(+), 8 deletions(-) diff --git a/drivers/base/property.c b/drivers/base/property.c index afa1bf2b3c5a..7324a704a9a1 100644 --- a/drivers/base/property.c +++ b/drivers/base/property.c @@ -7,15 +7,16 @@ * Mika Westerberg */ -#include +#include +#include #include -#include +#include #include -#include -#include -#include #include #include +#include +#include +#include struct fwnode_handle *__dev_fwnode(struct device *dev) { diff --git a/drivers/base/swnode.c b/drivers/base/swnode.c index 36512fb75a20..eb6eb25b343b 100644 --- a/drivers/base/swnode.c +++ b/drivers/base/swnode.c @@ -6,10 +6,21 @@ * Author: Heikki Krogerus */ +#include #include -#include +#include +#include +#include +#include +#include +#include +#include #include #include +#include +#include +#include +#include #include "base.h" diff --git a/include/linux/fwnode.h b/include/linux/fwnode.h index 4228c45d5ccc..80f3cd91b471 100644 --- a/include/linux/fwnode.h +++ b/include/linux/fwnode.h @@ -9,10 +9,10 @@ #ifndef _LINUX_FWNODE_H_ #define _LINUX_FWNODE_H_ -#include -#include #include #include +#include +#include enum dev_dma_attr { DEV_DMA_NOT_SUPPORTED, diff --git a/include/linux/property.h b/include/linux/property.h index 1f0135e24d00..3a1045eb786c 100644 --- a/include/linux/property.h +++ b/include/linux/property.h @@ -11,6 +11,7 @@ #define _LINUX_PROPERTY_H_ #include +#include #include #include #include