Received: by 2002:a05:7412:f584:b0:e2:908c:2ebd with SMTP id eh4csp3268471rdb; Thu, 7 Sep 2023 09:25:54 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHUVezk8hkEkMmZTEadTxVkef5/nJ3lEwzWiCRENHyrMWz4y8FlBJ2OjyxzvfjCkNbZeMeM X-Received: by 2002:a05:6a20:918b:b0:134:2b31:e2a9 with SMTP id v11-20020a056a20918b00b001342b31e2a9mr307729pzd.0.1694103954248; Thu, 07 Sep 2023 09:25:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694103954; cv=none; d=google.com; s=arc-20160816; b=QLCar5cAMm6qqq+RP6255lBJgF5QnMob/5ntcNbt6TbkGsWiXL0UlOgRwt80fVMVBb IXNoST0TEQLqr5WxmRlVHSa0qri7XviZQRYu2mcA1BtvHRLk3PPbKMo8Qxv0Xa3QGj+O nnEr7QNfg8UZC++TjSyRREw5D0aksq8M2H3jpgsPbsiPv9gHh9ewXBgTNSMM3RUlCQbq 2VihT2TRYjG1Ro2/ArYPKHGCBnkqL8hdltA7NrcjLyXeEPP5GRroxqkAaMLW28zLCnnj kb9Ia8YzPNNGmO92v6DvoZJprsLblrR9P6ZugXGoMkdINlmu9bp5tZy+MYNKBS0FbreS RWpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=IG11u3w0BCVA3wwT27Pov+EpQ4Z+GoILM3aWa4YPgRA=; fh=HTW0RfZuMJD6/H7q+TqGK73CZyMLUEPthWe2vHuxIG8=; b=gzWmnZ+1PRu2vPjJZ03k7XtE8NLQUaeCv0niShpyDonGkB/6IRY8cW6JNeVx2BLXQn GVeaLrlcBh5u6Tpt9k3y0AX0hZAR33NO0VTVMzt24EkRozwsrp6n3g8nq1E+zbWEhZgu 3zlekEj4z5ZBMYI0OrWuHT+vaK+JUTBR01fJtEJvZy2FPMj0R1BtqB8rRi6zzfDiGeNn drLuRRkLKjL7XKABqAUKuIZIBFva9KIYumqGM5hxvYE6Tn5Rr94PGoTE63bmQZdgxrsS 9FkUvQKrpGuT2MSqjyx5wMf46m+imt0ZIod71X7j5pBclgXMEhj95VQQoEJDCABaTYTW W/VA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e6-20020a656786000000b0056532a83c64si13383761pgr.516.2023.09.07.09.25.37; Thu, 07 Sep 2023 09:25:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345375AbjIGPfz (ORCPT + 99 others); Thu, 7 Sep 2023 11:35:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59982 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344126AbjIGPc3 (ORCPT ); Thu, 7 Sep 2023 11:32:29 -0400 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.126]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F12641BFD for ; Thu, 7 Sep 2023 08:32:00 -0700 (PDT) X-IronPort-AV: E=McAfee;i="6600,9927,10826"; a="362409823" X-IronPort-AV: E=Sophos;i="6.02,235,1688454000"; d="scan'208";a="362409823" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Sep 2023 07:07:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10826"; a="832186693" X-IronPort-AV: E=Sophos;i="6.02,235,1688454000"; d="scan'208";a="832186693" Received: from smile.fi.intel.com ([10.237.72.54]) by FMSMGA003.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Sep 2023 07:07:30 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1qeFfL-007KGR-3D; Thu, 07 Sep 2023 17:07:27 +0300 Date: Thu, 7 Sep 2023 17:07:27 +0300 From: Andy Shevchenko To: Masahiro Yamada Cc: Greg Kroah-Hartman , linux-kernel@vger.kernel.org, "Rafael J . Wysocki" Subject: Re: [PATCH] devres: rename the first parameter of devm_add_action_or_reset() Message-ID: References: <20230907110305.2096052-1-masahiroy@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230907110305.2096052-1-masahiroy@kernel.org> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_SOFTFAIL autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 07, 2023 at 08:03:05PM +0900, Masahiro Yamada wrote: > Fix a possible mistake in commit 410e7088e971 ("devres: Pass unique name > of the resource to devm_add_action_or_reset()"). > > The first parameter of devm_add_action_or_reset() is the associated > device. The name 'release' is confusing because it is often used for > dr_release_t in the devres context. > > Rename it to 'dev'. No functional change intended. ... > -#define devm_add_action_or_reset(release, action, data) \ > - __devm_add_action_or_reset(release, action, data, #action) > +#define devm_add_action_or_reset(dev, action, data) \ > + __devm_add_action_or_reset(dev, action, data, #action) What about devm_add_action() and Co? -- With Best Regards, Andy Shevchenko