From patchwork Thu Feb 29 16:23:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 776905 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.13]) (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 EF8CA160657; Thu, 29 Feb 2024 16:27:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.13 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709224077; cv=none; b=ocZ9hH0129KY62tnz4Hhzn7jDtXJTd5rg1n66AL1sIOG6Nb45BELjJshb+Gq3YbXDDSlsHr4D3jtQCIfxZtrlnJGTmPHTXL99sSs9IY2fw0Hbpv6lyrnA4WPBU1AvXxPzcNyEeV1owugLJakoeGWFJrisMhkjAovWHsbT57+2ao= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709224077; c=relaxed/simple; bh=FZ4hzcjZ3N2IVSb6CQTAkW7bY97q2ac7mesHQV4f33s=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=H22IJbaS9p8DbmJ/GNrdHPmbgVmZE7IkIYrFhssPD22dwF1fADwcTznP08iMNC1OupL3Su/kzcd0F/PlfaseYyty7mjfsTuzXBz7wDyHA/PtkClb9aIM0icb+3G6JP5mfWyCzYkhf0RFRkVTEX+saM4DnzXvVLrX0P0wJp/8z8s= 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=hPUpE9ty; arc=none smtp.client-ip=192.198.163.13 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="hPUpE9ty" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1709224075; x=1740760075; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=FZ4hzcjZ3N2IVSb6CQTAkW7bY97q2ac7mesHQV4f33s=; b=hPUpE9tyZf54LEKYI69bmcQZi1kTQDHVxQ2Gd9GnzokOvdmwpdg/zrNf HF26moOhPO/GqjMAeHCxIzdg8rU7+Ypu00XYxiMwBcZWtNbsnTPSL61yo D4DTKevR0v6tMwpO9KwMAanLefTuvx4sez6tO8yvclENTQCyXcu4eQs2h vnes3gcheYwjWwkM73Z1+Iq0v2Wl55AUGgDDKIs2sR/f9eJargUynG4Ra oZIKnbdUD2m4pqK0RWVuXL2TkziX3XYH2Aqwj2LCG8P/jMqw+PdgHSSHO qmROu/9VpBLmxDfdzKmqyNmPK9cjNcHgrDeVq4lUqDepHZmDVbscuiZXK Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10999"; a="6660709" X-IronPort-AV: E=Sophos;i="6.06,194,1705392000"; d="scan'208";a="6660709" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmvoesa107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Feb 2024 08:27:49 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10999"; a="937036137" X-IronPort-AV: E=Sophos;i="6.06,194,1705392000"; d="scan'208";a="937036137" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga001.fm.intel.com with ESMTP; 29 Feb 2024 08:27:45 -0800 Received: by black.fi.intel.com (Postfix, from userid 1003) id BB8384E9; Thu, 29 Feb 2024 18:27:44 +0200 (EET) From: Andy Shevchenko To: Greg Kroah-Hartman , Andy Shevchenko , Sakari Ailus , linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org Cc: "Rafael J. Wysocki" , Daniel Scally , Heikki Krogerus , Len Brown , Jonathan Cameron , Lars-Peter Clausen Subject: [PATCH v3 4/4] device property: Don't use "proxy" headers Date: Thu, 29 Feb 2024 18:23:46 +0200 Message-ID: <20240229162741.3854912-5-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1.gbec44491f096 In-Reply-To: <20240229162741.3854912-1-andriy.shevchenko@linux.intel.com> References: <20240229162741.3854912-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 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 d983a4dea105..6a3a434d0d6f 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 5761878d42c7..61fc20e5f81f 100644 --- a/include/linux/property.h +++ b/include/linux/property.h @@ -11,6 +11,7 @@ #define _LINUX_PROPERTY_H_ #include +#include #include #include #include