From patchwork Fri Feb 23 15:54:39 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 775180 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.14]) (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 5EF1A82D6F; Fri, 23 Feb 2024 15:57:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.14 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708703869; cv=none; b=DNzEdqL97oc97DqhhjA9LWiwEkXUTbEMnQsKrhpIyk87gWJHoOwhuG+PjgMXwnv10uansY8sVw0sx5pDLSKqU6l8gbtHaYuBI3yIuT/Cg+XU3S2jfzjSuqRFSDyjMbTbOR2skw+ILgPYgVo2pKyLtYRFVdZCQkDjfJR9iW8CZNM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708703869; c=relaxed/simple; bh=JS1+T8ufpQOpwZXWCdmrwy3mHVd5UFm/zVDUtcRHl10=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=AATQ9B43h4PaIVLj6g2LvCuzYS37GD8ZugqnPvznhGw6f//gFq3d5C2kZ/o15vLwI55fVrIhXWLy12UjGryYgm5u97C3pCtz+LzaX7rfc2iIfamVb51y8bqdY0FnUTYRIk6MXN8EksQOB7Icb/MMWpg6csfGlgekU3dAPg9jS3Y= 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=GytQummD; arc=none smtp.client-ip=192.198.163.14 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="GytQummD" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1708703868; x=1740239868; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=JS1+T8ufpQOpwZXWCdmrwy3mHVd5UFm/zVDUtcRHl10=; b=GytQummD9E/tbOD+x75dqnx2WYcOWDpKsgnyvwdBxjI6UXy+aFWLvtZT ghnVu0ZdaRMemg1CglJQRMs9GEE1+Id3f9HF68BmT3vHanGVdSaoQzMi3 E3J9KqVF+Z9Rq/wIlgtWJD5EHK5a6ddtwfCSL54+gAezpQqB5QlddC4Uv UDvyRMWVez+Nzxc2mO1m9yIHnwr7rDi09lRpHeY7IrqmKirSdumvKaYN+ pvv+EqxVtQ2mfgrtKes3jbxyvIJ7R8OQlaIa56BTuUBc/PjnmJ4MNhhVK uBC43/rk1bWrCY2a7Kkv9v7IkZ7F8Ri/3Oa0sLNjpE1yURx7nr1TmCfXx w==; X-IronPort-AV: E=McAfee;i="6600,9927,10993"; a="3187540" X-IronPort-AV: E=Sophos;i="6.06,180,1705392000"; d="scan'208";a="3187540" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmvoesa108.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Feb 2024 07:57:44 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10993"; a="937025349" X-IronPort-AV: E=Sophos;i="6.06,180,1705392000"; d="scan'208";a="937025349" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga001.fm.intel.com with ESMTP; 23 Feb 2024 07:57:41 -0800 Received: by black.fi.intel.com (Postfix, from userid 1003) id 39E4680C; Fri, 23 Feb 2024 17:57:40 +0200 (EET) From: Andy Shevchenko To: Greg Kroah-Hartman , Andy Shevchenko , Christophe JAILLET , Sakari Ailus , linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org Cc: "Rafael J. Wysocki" , Daniel Scally , Heikki Krogerus , Len Brown Subject: [PATCH v2 4/4] device property: Don't use "proxy" headers Date: Fri, 23 Feb 2024 17:54:39 +0200 Message-ID: <20240223155731.858412-5-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1.gbec44491f096 In-Reply-To: <20240223155731.858412-1-andriy.shevchenko@linux.intel.com> References: <20240223155731.858412-1-andriy.shevchenko@linux.intel.com> Precedence: bulk X-Mailing-List: linux-acpi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Update header inclusions to follow IWYU (Include What You Use) principle. Reviewed-by: Sakari Ailus 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