From patchwork Thu Feb 29 15:53:40 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 208447 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2097:b0:108:e6aa:91d0 with SMTP id gs23csp560029dyb; Thu, 29 Feb 2024 09:31:36 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVoUvqEHU43quZzArAiLB7KprPiugSLc/OY/vgsy4nz4A5SsYnFepguzz2Eb7XYO2hD1HL6v0DkRTRmBNBj0hQSpfGMOw== X-Google-Smtp-Source: AGHT+IHbveNRDQsZ/tl0k0KruZqcSiAFmPQ29HR1kgPC0bBKtH25X8ENl9YK4el3LNajDE4KkomU X-Received: by 2002:a05:6402:50ca:b0:566:ac48:9e27 with SMTP id h10-20020a05640250ca00b00566ac489e27mr1508743edb.15.1709227896048; Thu, 29 Feb 2024 09:31:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709227896; cv=pass; d=google.com; s=arc-20160816; b=iiPZ8yO8V2LRmE8nF95uI6s+BXxjmOAlxR7xwl1xfQ17KkZKlkBbYyEfK3MSPmJ4Qz xZ+jIq319XVbNeAboNFBBCA1iBEFdR3R2T8u9rp/KkhxAf87JlvN4qy6L989RMtXX+Vm ZuZq0zGsKRscjdMSb5uZOdfnnU65nlXZuXvvdBTBSEG7SqKTzioUY+mbXrnn8qHWZYYz SO3nyDcirnjPGG0yYnqhC4nltuWHv3f9MNlS9c1WihqmmzGQBla94X0sELqa9Xcipl59 9YoT3LfU2lOdHC31IsGVa29lHhvKZ7+2+pMHGWUyM1S9R6ZvwsOBgsFIyj+3gN9j5yfE vDnw== 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=AlJZa3i7KA0IvDGr2KmPuSaoaBU6zDhbGz4E4ooY/zp77pY6Ze9eyBvjubS+9Fnfzt RQChFkCLUpkk08Q1+rn4hbeaoc7xYAVwr7cR8EEswCtUkV204ejdysIGFTsI20qJAkCW j12VnLEMHwNqrkt4KeRJvb998szpWb8nGv1zbYl7LqZ2V+KLvcpTXL9i60Rw6fLE0Wzj thHNcwTvPKno2a8sCB5q7ZfddkCODSDBzrLFINAKAL9gw0DqukT6cc1/hXw4kSMu1oom yLqOi3IiPjX9n6fkDZOx7pILgrT3PjxlwWr3eGaYUZXLPeEGklQYNUc/0UaulAjSBD8H O0GA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="hoyazW9/"; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-87036-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-87036-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. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id dk19-20020a0564021d9300b005665a2a30ebsi733669edb.617.2024.02.29.09.31.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 09:31:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-87036-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="hoyazW9/"; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-87036-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-87036-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 A6BAC1F24E18 for ; Thu, 29 Feb 2024 16:15:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6806D4AEC7; Thu, 29 Feb 2024 15:55:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="hoyazW9/" Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.12]) (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 314B84AECB for ; Thu, 29 Feb 2024 15:55:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.12 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709222118; cv=none; b=Nit8FjKGc2Ao6MqWwMSO7zPnrm3VPru/0wzcwhzROQWJ9Q6yxpeB/hTyNC3xdXY/sR4ZE5WP9JA3sB+O71QC3JOt1aZ+p7pdXMqG+xVdJXkk0TCafX35g+Nhd9oWlZLbDhOXgb53C24Fh+NnOkIIM8y7QB/uVPkRDmU3y0qyFjk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709222118; c=relaxed/simple; bh=qjXLbtPJOtzcFmiEigBlQuXlreS7DVmZQkZxpCejSHc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=DLPZIZAU3yqpki+tBNNQ1wY1dHEv7xKy9O6Oc+/mA6lWgkejdIffckh6a/GXeEFlcCMNQeD9kSX30KpakP13S8iAo9axgCyT/wLfyoNyMVphG5ql9W9gtD4ImgRH51gT6UkYQBQs6gc3Cqlp2/sD6w1NqSFn9yHXFjX7qrymivY= 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=hoyazW9/; arc=none smtp.client-ip=192.198.163.12 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=1709222117; x=1740758117; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=qjXLbtPJOtzcFmiEigBlQuXlreS7DVmZQkZxpCejSHc=; b=hoyazW9/vDaDAFlON50p0H38HVP/C05jjMIzbIdQW8x+YDTwmOHw5Wgv hv915nQgSDcLVImfnWeAd2nE6tJexQY19nf1pDUoIxos1qBh3vnDCcqz4 gebtI7G+2jLm8Uom+NdxTW3XFFdOb0/PI6PsJaGHNphpNX/b22cdX3I5j 58wh6IUW45xCG40HaacUSqWBg2yVNCAtUFOv6CRggR40bjFopxhd9oNqL S0r7K8yNTjQ/DPgIvvClbn3vqztdqWUokCHcGUgcC/dYCM2znPk5WpqJf eATqrTe73wGXMzqQL55QCQyn4kmOl/GdhmifdENrQ1B9s65yu/q7Rd8Jy w==; X-IronPort-AV: E=McAfee;i="6600,9927,10999"; a="7479288" X-IronPort-AV: E=Sophos;i="6.06,194,1705392000"; d="scan'208";a="7479288" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmvoesa106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Feb 2024 07:55:16 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10999"; a="937036110" X-IronPort-AV: E=Sophos;i="6.06,194,1705392000"; d="scan'208";a="937036110" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga001.fm.intel.com with ESMTP; 29 Feb 2024 07:55:14 -0800 Received: by black.fi.intel.com (Postfix, from userid 1003) id 41291476; Thu, 29 Feb 2024 17:55:13 +0200 (EET) From: Andy Shevchenko To: Andy Shevchenko , Philipp Stanner , linux-kernel@vger.kernel.org Cc: Andrew Morton , Rasmus Villemoes Subject: [PATCH v2 2/2] devres: Don't use "proxy" headers Date: Thu, 29 Feb 2024 17:53:40 +0200 Message-ID: <20240229155507.3853059-3-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1.gbec44491f096 In-Reply-To: <20240229155507.3853059-1-andriy.shevchenko@linux.intel.com> References: <20240229155507.3853059-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: 1792255350384954725 X-GMAIL-MSGID: 1792255350384954725 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,