From patchwork Thu Feb 29 15:53:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andy Shevchenko X-Patchwork-Id: 21169 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:2097:b0:108:e6aa:91d0 with SMTP id gs23csp652184dyb; Thu, 29 Feb 2024 12:10:18 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWZVEgxCsf5LDmMYDQYco5t03WE2IzcWagehfdjs7K9vdKxeScV8yuhD1j1UOKpBx7++b9OJ7Ef/C+P5Nun9970liX0Xw== X-Google-Smtp-Source: AGHT+IG1jVsFIE8BoUiM5Qcp3G4RQJjT2QjKe7ft3eJYehU6heksaqGThEU4cjfEOE891xJfSegC X-Received: by 2002:a17:90a:300e:b0:299:2951:e2fc with SMTP id g14-20020a17090a300e00b002992951e2fcmr69039pjb.41.1709237418608; Thu, 29 Feb 2024 12:10:18 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709237418; cv=pass; d=google.com; s=arc-20160816; b=aQzIhNo0V/RMeSS026BHTKltML99+8hSxiyj0AVbCq3OD1ZuUVAAzxQjrssmiT+XuQ Q7cqvnRWWlIp/d/9UGR1hukqI7mde4HzyZ8ctvyfUtlhyltapzMzrooYJKIVDL6iSGsI K5dof96VaHPeODyJ7bkyk71cVJQyLPeXB5TjH1xhbjL2PlliM9lWiz+03xf+knIIAKfa wzE5K9J17Br3nckEHXNeCHYcGl2tekRY5qUNj0a+D6i7tv4JuUrUWYCw2Juy3GLylD3T 3GMiSHArwi9fAjAb/i3/g+cNL4Uz9K3OS/Ld2n/YHdsJIHN/uoqsWMfK5mKTvAwKxyLl ZV0A== 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=0+/gurq7vtNRpmGrWyKahVsqzko2rBSwC1orvc9sPCA=; fh=GpQb4kIYKqYHgUivqzizA5C6V4pMAaMxsFnDU4HP8GA=; b=CcdVHJWExLm8x0L/abcguyETLrWgoRcUdb7WAW7LSrT7KsqeX7zhcLOxU7nTFocjnF pH8OCd/fni5C8w/Ybv0B/2QyxQskYAnNIp7kqbm3kbLfXzdGEqfhHtqd2euJdcEwXeiM CqFUoKxdy/x+NAXCneNN8/1LoHA2Cel8SXJ8eaxEOZCQhmx7VRj4nsvBlDt1IuENw3Yi xS+5/klq34/PG/Fw0dd278ae9c4eVacZhTz6KTizppTQRHFsqLAno8WJAhiN6dgOf9md UmWHDExhQLsMD+K8x/oDJDUltf7Pm+HPfEOYVU4wQK9z1tk1rb1N45/JUAdd3uyXch5U jHmw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=a7nM05NM; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-87034-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-87034-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id sn6-20020a17090b2e8600b002903e315e4bsi2175918pjb.81.2024.02.29.12.10.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 12:10:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-87034-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=a7nM05NM; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-87034-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-87034-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 1E84EB23BF6 for ; Thu, 29 Feb 2024 16:15:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B85044AEF0; Thu, 29 Feb 2024 15:55:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="a7nM05NM" 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 8C41A4AEC0 for ; Thu, 29 Feb 2024 15:55:15 +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=1709222117; cv=none; b=JqakdCO4C5EQPimQG9vXbclMjnL8cs7BzCI/5LgIPzk3bV6DAT/u61cbFKL5tq+oZRTaYL0Z3n94SnMk+LP8rB9WQVEaCteJak1wZoxU/ZqHilMFxMxwCkqGE9hPYHlGTREYL4oAzyh3m91y8g6b5bxnuvITthRTjpseLjC5ZwI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709222117; c=relaxed/simple; bh=ztUaX763WcnO/b/ycvH636BChB6l29JhJMLpSuRok5g=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=CX8xwQenL/KEBBS06sGHz7l8IVPROfj9txRqkNaJbyQz+ttEAEpIjg/AotJ7l0L84TtnJe4iuKvtaoLwLKhBN4SqtEIdisNPLXYrCePnj9RCoIjETEOh6m+Op6quQ+Fz6sbOD67vsEs/sJO2U+ES8YOXtQg1XrEgRRS8MzPr/PM= 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=a7nM05NM; 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=1709222116; x=1740758116; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=ztUaX763WcnO/b/ycvH636BChB6l29JhJMLpSuRok5g=; b=a7nM05NMNF11X+zcAI3T1GK4uHEe8zwy2EHqoBTmc9gY/b90k53ku3ue XzKkKQ/bV1ea1XkDPGA86hWmYlP3Tzb33LrWCVZ7e6X/AUiFXRN0VNGHh lm6HEHiD9rXHz0FCCFeYlDFmt2+HwnLsDLY/U/SvGpenBaBLFdBp5qgOo gtq+cZC2buzSTPd6RWPiFZfiCvX4nYPOwWf22h7vs9O1R02hYIkXwqrPY 4eytlaPlZ05r1aYbuFSg2AeYr25wNskKWPK2NrnueQ6KOrAqCapN70s8u IB5xLBXFYDgzV3Aoh68ImUnEgUFo+odc8IrzhreCoUr/rtDOMD17KdceV w==; X-IronPort-AV: E=McAfee;i="6600,9927,10999"; a="7479278" X-IronPort-AV: E=Sophos;i="6.06,194,1705392000"; d="scan'208";a="7479278" 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:15 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10999"; a="937036108" X-IronPort-AV: E=Sophos;i="6.06,194,1705392000"; d="scan'208";a="937036108" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga001.fm.intel.com with ESMTP; 29 Feb 2024 07:55:13 -0800 Received: by black.fi.intel.com (Postfix, from userid 1003) id EFD7623A; Thu, 29 Feb 2024 17:55:11 +0200 (EET) From: Andy Shevchenko To: Andy Shevchenko , Philipp Stanner , linux-kernel@vger.kernel.org Cc: Andrew Morton , Rasmus Villemoes Subject: [PATCH v2 0/2] devres: A couple of cleanups Date: Thu, 29 Feb 2024 17:53:38 +0200 Message-ID: <20240229155507.3853059-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: 1792265335452644283 X-GMAIL-MSGID: 1792265335452644283 A couple of ad-hoc cleanups. No functional changes intended. v2: - fixed plural vs. singular "to have" (Philipp) 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(-)