Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1924110rdb; Tue, 20 Feb 2024 11:00:07 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUliiSfGxHsNuEzmzG7idUFl6ErSVM/G7govOSG/WKa3bJuQM476kWarrknN9u9zzLHD2Q5o0dKyGIK59ZnXCP9O2H4gbuf8FFTmbikhg== X-Google-Smtp-Source: AGHT+IGhLwIv+b7pYUzgtMuw2Qph+DBQfp5qwcUBo5rGRdHVq4BUVSRVLdPrAFdMDkABYoQXAmRB X-Received: by 2002:aa7:865a:0:b0:6e3:90c5:17ec with SMTP id a26-20020aa7865a000000b006e390c517ecmr8370244pfo.18.1708455607297; Tue, 20 Feb 2024 11:00:07 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708455607; cv=pass; d=google.com; s=arc-20160816; b=FEiOzCj9D0Lz3omcLW21vA6JPdwMj++5/2nEMh0fenFx3B22hRQm5zl6f0SnkBiwd6 ekrZZm7PQgM+ehlBcs7T4qenCWHJvQigVwB/G5avJ5l2y0c5BIv5xJ1tIv4UpBVkvwfp V8JkPKoPWFNxu5gK63PaVcImGqxRUdFaRPpe+Ew2WHjBx/yb9Y4Bbjs7d1iMEfdbXwmm 3vwFha3Z5tPBaesQpC/2UqYNF451EvPG/POA7Vp0b5q9bXx/VmBIa8nrSn2hEzRWPqAK fsnjzCsS9R/Cm4+nwIjpxphoWzMEF00vWLnjNp8sTAWKQGZWHViC9fJ+mJF2GMHCxdml M2uw== 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=2JGonXonDuE7zmTplZ9o+coCPdHer0cv+/3Mdz8DlZ4=; fh=xnM1rD/cJUKZPhWAJIuDHuZIj7K/uytp0q8eQ1+Nt78=; b=a07v+7+K5RmSOZmWNYgCbB9xAnxHmUFClSIVm16aCUmgpzGU4fodWQ1n7gUu6Mfv7q NpH8OcUjoncz8zYIAUZBEuDyzOZU2zs1FYFhAwtCPs+VZyz3HUavHYOn6hDimgwH5MOV actnbgw10+MqUymxG2HKUMCOzX3lcJLE3fv5fRxN09GDj7Uv29qPlRURBIGqooZV6/Xw dhVAKqudKnT1xQOaUkPgAySrgKXF4eyX2idOmVY6kZcfJEpYrG5K2QzrMFy2N7fetpty lBiNjbIJ9Iv92L7cC/xCpAt3dD6rEwCmS9QyXe7wfHcLTe3zl63uYY/zsk84TRF6zB08 OZxA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=KUH1yyvS; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-73345-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-73345-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id u124-20020a637982000000b005e42b4bc580si798097pgc.817.2024.02.20.11.00.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 11:00:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-73345-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=KUH1yyvS; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-73345-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-73345-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 25D7B2860CF for ; Tue, 20 Feb 2024 16:26:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BE5847764A; Tue, 20 Feb 2024 16:22:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="KUH1yyvS" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.16]) (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 0B4A97640F; Tue, 20 Feb 2024 16:22:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.16 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708446178; cv=none; b=MfvUvt3V0Kn7tI+YyHGqX7rob1aFGbXIUxKGw0Qaq/vLx7Sd1Yxlo9V6YlicHMbYphvesHjdlpdx7Fz3bNRK2Ko6mQ121MtVD0G6nTGehWd1YMwErskzZpWxYHHzSNa+MAKRXO0QqCKA3WiFH7SHjCiaCBGm/C/QmblAYTHlg7E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708446178; c=relaxed/simple; bh=4EXMl5e7uXAcwic9xOAtMCb24DT48b9NpcADcBf9+fY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=BVLZWDsMI2p5v/7HrgPV4FOrs3sB0yIVdRP4S+5Vbt7nwrHTNWWzniHpJ4fBLQ8/9/FMjck4VrfOeL8S1Ht6KooYl9bmvwCIbREX0R3Clyr5dK09cYjgsrCbwmnFReMSGandfBt6Kr0lvtMGzyRbZwnz3CRr31vrbSK32hvFAWg= 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=KUH1yyvS; arc=none smtp.client-ip=192.198.163.16 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=1708446177; x=1739982177; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=4EXMl5e7uXAcwic9xOAtMCb24DT48b9NpcADcBf9+fY=; b=KUH1yyvSKQSgLdPrNnI9R4n01LxoiCePXG1NMMLuO974zHhn0f8LKor/ gE+l+lpknbHJ1fokxQs9Z5Lr94rrjz7m0FiM+UhXBrdjzr9hUL5XGMul6 nh5TJ1mT3wJwS4ho6e4l8Kh8LGihD6y3W+CAZDvLWauvTQwBikapj/rNB tG6P3OwgBk+pbPE8YBS6yudayAzcHQ6lmJw2sQ6MBsmCevaUdVycKfUqQ QMOcxkDfKeM+AIDbKKZ9iGvWr2hoCGc4y8x2DRBMhc7/EcxwjYfZXDrhG jLXJPqsu072Cab1W5n83QLYwgB7d0hrfvzpBXuzwdfzRxv31OWgYSMclX w==; X-IronPort-AV: E=McAfee;i="6600,9927,10990"; a="3021833" X-IronPort-AV: E=Sophos;i="6.06,174,1705392000"; d="scan'208";a="3021833" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmvoesa110.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Feb 2024 08:19:38 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10990"; a="936472936" X-IronPort-AV: E=Sophos;i="6.06,174,1705392000"; d="scan'208";a="936472936" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga001.fm.intel.com with ESMTP; 20 Feb 2024 08:19:35 -0800 Received: by black.fi.intel.com (Postfix, from userid 1003) id E7399305; Tue, 20 Feb 2024 18:19:33 +0200 (EET) From: Andy Shevchenko To: Andy Shevchenko , Christophe JAILLET , Greg Kroah-Hartman , linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Daniel Scally , Heikki Krogerus , Sakari Ailus , "Rafael J. Wysocki" , Len Brown , Saravana Kannan Subject: [PATCH v1 1/1] device property: Don't use "proxy" headers Date: Tue, 20 Feb 2024 18:18:50 +0200 Message-ID: <20240220161931.3091680-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 --- This one heavily depends on the https://lore.kernel.org/r/20240220161002.2983334-1-andriy.shevchenko@linux.intel.com 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 -- 2.43.0.rc1.1.gbec44491f096