From patchwork Tue Feb 27 17:58:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 21046 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp2947030dyb; Tue, 27 Feb 2024 12:26:47 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWZsaiXWK/xbGWSgp7Id7pZqwjg7ErCFAjwGyXp+XhxdeBpHCzpdE2VLlHpru3zetxC4PuQ2xrCP9VKRldX7/6v+Mre/Q== X-Google-Smtp-Source: AGHT+IGdUEHETdQ9YifmAb5l9mtmx0bct4kib5Nf/GeMH0FFDs2s8AKop2+K6j9dR9ZXAoKfBjqm X-Received: by 2002:a05:6402:55a:b0:566:d12:e103 with SMTP id i26-20020a056402055a00b005660d12e103mr4443934edx.30.1709065607000; Tue, 27 Feb 2024 12:26:47 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709065606; cv=pass; d=google.com; s=arc-20160816; b=yulafWnCIVqHGVmunRx/YZNVU93NeH0Jx6gXBTxu7RI+xSKMrqUnu2qyeM8C/tq5Uq 8QKQoUHoHfw6oAWTua0gkLV3BAhOhxM4mJN2LsqgyljShCV99Rx5cFzyzRNobFic+mbe DFtJIIiXkRQMzrkwfTFw8H9j0HlnmTTkrzTJYHZ6pJ3LhnuueqlX7XXj3rM+BE1b000N fv8HrSOUuepzn1RzQZt5QkDvMtSmiKsJ3OJv+3LivMbujcNNvEJ+ZPEx8gX+LhidSfzw FyfcQQ4UKFXGkfVOeHER1Cf/x6F6aAvQcSSsaU9ioJ6z1+PotLGYuP4ZXg4ph3YHsWbu /fVA== 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=JX2qG7BLvM8dYjzJtq/4ZQDx4yIybSsL4itPyhWBLjk=; fh=GpQb4kIYKqYHgUivqzizA5C6V4pMAaMxsFnDU4HP8GA=; b=NTtByu+ASs3NZOpSKO7zNZTzfHYM8mcTAWHKiwLyPwnbFXzkRcGktqhe8TebPAYr1g UAWAOlKmMcqmkw9ZSBZIxCJhKQG4YJP3JTzF1cqPqO42Z4LNaFZOZ+saC9dwB/Hc+Zxd VbPskYqh3j4qh+kLBQGUt5Wj4S5ME8HavjjzleV6Sieir/ltGA4bu0189DajHwointtF 3Zq4iLCk8qcdSwB3a7M6/F6noNTn6ZLTTBseM1dkRa/BPmMEfj5JLSZW7D7+zXH6e6h7 ucahIIfrXDZmjZAE72VMmhPsvKCf1DZZCvZKS2rq2rJePNLUuD2pQb1Sv6sHVIVdSw05 9y4w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=PG4AfHhe; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-83790-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83790-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 r10-20020aa7cb8a000000b005617dbded52si928716edt.497.2024.02.27.12.26.46 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Feb 2024 12:26:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-83790-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=PG4AfHhe; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-83790-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-83790-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 69AAD1F2B999 for ; Tue, 27 Feb 2024 18:00:00 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C329C4EB42; Tue, 27 Feb 2024 17:59:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="PG4AfHhe" 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 C56FE4F5EC for ; Tue, 27 Feb 2024 17:59:22 +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=1709056764; cv=none; b=HYcGPD5iAWIy8DbpJVu713j9qabRAGndvJiUyXvIrHPO80PcH21b+/xU6mnRikerWKtYBzFIfPivXdF23frmlvu500jWsvRWiZ3hr54maMVKjvLb6qCJZoYYn+KYauk7OnOV6nQK147vWbOkEt1Xn0QCT+XqZXGzWXXfASFdVXM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709056764; c=relaxed/simple; bh=akZVloetQlgvAMqV+V6DLoLSCIAxumBQdN79IiZsIc8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=cnxr1/63H7RsEPeanvotiaM03pEywZUNyDeacH/u1fcFgJ6kCDZcAxnmeMAr4yPx/ec3hcB8HULPu4W6nymj1Vpl7sdkdlbEuXeQEvUJGpV5tmC4sYcAX53vYcDT5c5kGBJM8GIXGk3PAxdXVstED2cDnsJzMAZ+LTxzE4O3MoE= 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=PG4AfHhe; 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=1709056763; x=1740592763; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=akZVloetQlgvAMqV+V6DLoLSCIAxumBQdN79IiZsIc8=; b=PG4AfHheRg9qAoKkkOrDtiKrZwyOOkU8X1iqK2PiC75mFXNn2GDJDvJb 0R4tfEKa1LTa6iDMJ7UHrCdaSjakMHp0/FIkSSm1MmEcS4z7g8qwuvLe6 ZSnmAcFC8xWPh4usiIvFpndQHYl4A8ApVTMO19C2MIgk8nL7bYmq1fP0M mlsNzPyYQEWRGLy1r2Tm2Ww2U4xBJmfVAyTQU/4K87fStuDmus+fRoy1V VPE4bs9bVXBbAUU622Oog1eKz5/hJiEjO8wk2dGghpjiyGEQiNSJ781gT PUqilTgjtc/1AwdX5GwT5UVfLfrutmoHGfoxiFpBb5OWMpYBS7b0oRdV/ A==; X-IronPort-AV: E=McAfee;i="6600,9927,10996"; a="20962777" X-IronPort-AV: E=Sophos;i="6.06,188,1705392000"; d="scan'208";a="20962777" 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="937032679" X-IronPort-AV: E=Sophos;i="6.06,188,1705392000"; d="scan'208";a="937032679" 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 F35D7284; Tue, 27 Feb 2024 19:59:15 +0200 (EET) From: Andy Shevchenko To: Andy Shevchenko , Philipp Stanner , linux-kernel@vger.kernel.org Cc: Andrew Morton , Rasmus Villemoes Subject: [PATCH v1 0/2] devres: A couple of cleanups Date: Tue, 27 Feb 2024 19:58:33 +0200 Message-ID: <20240227175910.3031342-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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1792085178052964142 X-GMAIL-MSGID: 1792085178052964142 A couple of ad-hoc cleanups. No functional changes intended. Andy Shevchenko (2): devres: Switch to use dev_err_probe() for unification devres: Don't use "proxy" headers lib/devres.c | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-)