From patchwork Tue Feb 27 17:58:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 207413 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp2946996dyb; Tue, 27 Feb 2024 12:26:42 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUdyBFW2nollf6/XRgTsvPrsWQKGSgm+4WxqEdt0/JJhLJN9NAM7IP3ze1aAKY8KM8yMYMmlnuXfF/fp/p2WC3jUxF8qw== X-Google-Smtp-Source: AGHT+IHsHSsUt+b58OcV1lnY5Is5K87IXLSJoXrlWLRZybDRY8E+oMghUMYWI9O9NVN7HjD5SI1n X-Received: by 2002:a05:6402:c1b:b0:566:61fc:9b2 with SMTP id co27-20020a0564020c1b00b0056661fc09b2mr108802edb.3.1709065602767; Tue, 27 Feb 2024 12:26:42 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709065602; cv=pass; d=google.com; s=arc-20160816; b=J4aaBSNJUleMMUxRl9PJRwCsZxcGMijXKIFpkLyKdq36jeYmlK8eKMQdL+PTRXTgrG wb9YKgGU0k5rHKgVQ7c5a0gB+sOzh4yDV7uvvXTBDrMc/wdC8enByQAxGtMzVKPtjBH5 q1E4/yH0xcBJv0+6yK3EsWSUxxFlY7OCr0Wj5o7P2w8xzEjJaeNCMDI/J0Tysh+GbWPj JrRRfY4kpuYtReAFStnG9Mooow0v1eUTLLo/cZ7nJov59/b8AfhwBDGlX7VrgPRgR+fw 3R+uC7kxK6z+xRgLcjydl2oyD+6Mx9zSB7Y8aNRzto28uQt9C0H6Qnj/T6wMgA9pgw1V 8XFA== 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=3SECewBwu4mwQUyz0o14NsHFxtR4PcPuGMSQU2v1aDA=; fh=GpQb4kIYKqYHgUivqzizA5C6V4pMAaMxsFnDU4HP8GA=; b=U5pl5pPS+GeoiYeMguk513gPsk8NDT564wgCksB53cUDLLfweKGnZ5TEBAl1lpwFEc mMsHQork41ZeufKiZZYmAPq7KEyK7Ani5lqrglbYIufvL5b3jkNj4FURnL4BBBi4KZEE jB0Nrmt/vL0PaP1S/dZU7CSjYqGitCNvub3D+XdPwL8Nbw1TiTW/R+3+HCooAnNWdx/x i+0IMwQJdGH/G1ijfp7K22MZSDbbXpQvpyzvpnwNAsh43tdnEwD9LbPY/Ajamu09EVyk Ndr5IIghz4VldfuE7CUYrrmXENNGAYD9C3av8BCEF5xNiHGFUQsnvnI/+uVQc57dARyM rGPA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="lchqZh/X"; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-83788-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83788-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id r23-20020aa7cb97000000b005653ef43be5si944157edt.464.2024.02.27.12.26.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 12:26:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-83788-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="lchqZh/X"; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-83788-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83788-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 am.mirrors.kernel.org (Postfix) with ESMTPS id EC0E01F2B48D for ; Tue, 27 Feb 2024 17:59:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 790C0148300; Tue, 27 Feb 2024 17:59:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="lchqZh/X" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.8]) (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 206654EB44 for ; Tue, 27 Feb 2024 17:59:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.8 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709056761; cv=none; b=L8FlJScEWpf02mjEtkAZTbYu46CFHgkZuD/iyJw/XLprYklA9FUkyuOPxmg8xvYXk1znWAfhqSbNlpoDlEvwP3dHuuNWT0viJRCMk/jCg1l37hSO5hqAgCyU47rRI0qm6w2RAihpJx6FnZkQzURyse08fRZYnoT5bWlrFBSz/HI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709056761; c=relaxed/simple; bh=qjXLbtPJOtzcFmiEigBlQuXlreS7DVmZQkZxpCejSHc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=VQlqly7BOOSwWH/Y+zBXfJRiA41xL3RTkbeMyQTNftfUzpIooX32n3KsNmfnr/LQGiF47GnO294HfYVz9dIkXclkRk8IGMFU/5KnzR/qTZOuVi2CV1B8zW08s04bpPgEC2bgSY6KD6benzkoxfFLlTl0Oi1qz74u1uohFSzKAk8= 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=lchqZh/X; arc=none smtp.client-ip=192.198.163.8 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=1709056760; x=1740592760; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=qjXLbtPJOtzcFmiEigBlQuXlreS7DVmZQkZxpCejSHc=; b=lchqZh/XcwyLEBax6pc21CyH//qaBlTdVIuAzw5FIozdrH+AYiBXQT5P rflwKoz9v8QKqkTg4NG1Tdau/M0k3M2Cpcbc+b0FzAv83gh3JlhGWSIKn u/j8COZW0lZLxefejEpvds2iyRdFGjGYNCBIyZ2OQm/gZ0jcfVgwcgp8g yOocMVFBKKuschBWnfg4ArEJeABVHOEy9np3fMl8zQIIXO9FEYEWCXfDm sPiu/KEaJ/nrCADyYJpCtZfVB8ZKgRXxVmu1ZyS5Xv+6oAvNtQmG8IaXQ JnPI49rfhgGvbruEo4ln3mbZiOe66Y793H/4eVX6Zm/ikYRJ6OLEpePQe A==; X-IronPort-AV: E=McAfee;i="6600,9927,10996"; a="20962772" X-IronPort-AV: E=Sophos;i="6.06,188,1705392000"; d="scan'208";a="20962772" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmvoesa102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Feb 2024 09:59:19 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10996"; a="937032678" X-IronPort-AV: E=Sophos;i="6.06,188,1705392000"; d="scan'208";a="937032678" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga001.fm.intel.com with ESMTP; 27 Feb 2024 09:59:17 -0800 Received: by black.fi.intel.com (Postfix, from userid 1003) id 17151426; Tue, 27 Feb 2024 19:59:16 +0200 (EET) From: Andy Shevchenko To: Andy Shevchenko , Philipp Stanner , linux-kernel@vger.kernel.org Cc: Andrew Morton , Rasmus Villemoes Subject: [PATCH v1 2/2] devres: Don't use "proxy" headers Date: Tue, 27 Feb 2024 19:58:35 +0200 Message-ID: <20240227175910.3031342-3-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1.gbec44491f096 In-Reply-To: <20240227175910.3031342-1-andriy.shevchenko@linux.intel.com> References: <20240227175910.3031342-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: 1792085173428252027 X-GMAIL-MSGID: 1792085173428252027 Update header inclusions to follow IWYU (Include What You Use) principle. Signed-off-by: Andy Shevchenko --- lib/devres.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/lib/devres.c b/lib/devres.c index 27f280a39dca..4fc152de6d8b 100644 --- a/lib/devres.c +++ b/lib/devres.c @@ -1,10 +1,13 @@ // SPDX-License-Identifier: GPL-2.0 +#include #include -#include -#include -#include +#include #include +#include +#include +#include #include +#include enum devm_ioremap_type { DEVM_IOREMAP = 0,