Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp4271819pxb; Mon, 27 Sep 2021 13:09:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwQjm1v3N92iFiFXaj0Z21vKQmEP+01OzfvSOLpifL/chsdzYb+hYwmb4D37+BmK+7ohWGv X-Received: by 2002:a65:620d:: with SMTP id d13mr1279182pgv.36.1632773377326; Mon, 27 Sep 2021 13:09:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632773377; cv=none; d=google.com; s=arc-20160816; b=lxbkzKWGNIsv/X4A+3Q8pAB78dHFw7A0mZL6GFGfJ2sPTa92/ZWplnZ+F1TugtEI0u VbdW8cNy4TVuuqKsjGAoj/I8LmmzKWyyqWdhsy1SVSjlLMOi2fBAEXeqDDd92GjQdxlH frJslWBc6oZtuXDGl2xzFRH55s85g6xXUpwRQ7/xLIHJocZNE6XnvjDP5rM7jmexfLWY 5j6GM90Jw1CFq0XjjzbOe+LueXVT7CdKMqCUfSc2kx876UuTtswWHgC2d2k8M59xykfD mZ/8nGjkatDdq27rC/tetsgTOhqBxLZfVNsZARzJZ04Wsd6RbcOJtxX+7qGiF1JDdW07 2t9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=fd4s99HunOLubBDe63zAwk3tWqtbOB3gIaOJ3cuwGJM=; b=quderWUQXEseMO+rwhnVUb9doXVbrLIwePyh1dZlUP8ORQH+vGsE4Pg2IZfVkI28xZ JC4HTFo07LA7MyTyedsFaOlU1WOaAtVS74hDY5aIAlc7lJ1YCV7+G/qQhT8WuRyqmsEp /RFnMPKjaLKGi17aNvYrhbbyTT/XV8Z1l/nxemVC4w88L5AB6iBpBdLvcI2F1rIbwWN1 yofuSWDSPRTahcgCueEfIxFbUHBECXsLXKeZX0Ar27xd0J6QxHq/UWM0uF20y4Dv0/f5 RoM4OJH1XQW+xd/NcdYfzJRvgnEH8D8+YR3X+Hmze3KI4uP/UwPL7dDnSdeloRx3eCUf iDbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kemnade.info header.s=20180802 header.b=Qx4AkkHm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d27si22239867pgd.29.2021.09.27.13.09.23; Mon, 27 Sep 2021 13:09:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@kemnade.info header.s=20180802 header.b=Qx4AkkHm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236818AbhI0UKQ (ORCPT + 99 others); Mon, 27 Sep 2021 16:10:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236733AbhI0UKQ (ORCPT ); Mon, 27 Sep 2021 16:10:16 -0400 Received: from mail.andi.de1.cc (mail.andi.de1.cc [IPv6:2a01:238:4321:8900:456f:ecd6:43e:202c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 005A5C061575 for ; Mon, 27 Sep 2021 13:08:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kemnade.info; s=20180802; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=fd4s99HunOLubBDe63zAwk3tWqtbOB3gIaOJ3cuwGJM=; b=Qx4AkkHm/pmwCxCTBQzK1mMTVC jmgxFlIoCnncf/2Ax6nqjP36ucAgXFMRB+7K5peeCjp5CMFRroZjXZbSAXMqcLSSTOvcfHwZVG4sU M86cjTeRzBIOGw6PKL62Yzsi0BlF+ErBGp9Njb6fDTt7DtKPI9klfUZg2hFA55KJPVgo=; Received: from p200300ccff09a7001a3da2fffebfd33a.dip0.t-ipconnect.de ([2003:cc:ff09:a700:1a3d:a2ff:febf:d33a] helo=aktux) by mail.andi.de1.cc with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1mUwvT-0000CF-2S; Mon, 27 Sep 2021 22:08:35 +0200 Date: Mon, 27 Sep 2021 22:08:34 +0200 From: Andreas Kemnade To: Alexandru Ardelean Cc: linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, jic23@kernel.org Subject: Re: [PATCH] iio: adc: rn5t618-adc: use devm_iio_map_array_register() function Message-ID: <20210927220834.014e6c77@aktux> In-Reply-To: <20210926162859.3567685-1-aardelean@deviqon.com> References: <20210926162859.3567685-1-aardelean@deviqon.com> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -1.0 (-) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 26 Sep 2021 19:28:59 +0300 Alexandru Ardelean wrote: > This driver already hooks a similar unwind callback via > devm_add_action_or_reset(). > > They pretty much do the same thing, so this change converts it to the > devm_iio_map_array_register(). > > Signed-off-by: Alexandru Ardelean > --- > drivers/iio/adc/rn5t618-adc.c | 13 +------------ > 1 file changed, 1 insertion(+), 12 deletions(-) yes, looks sane, the patches it depens on are not in linux-next yet. But it seems that they are accepted, so: Reviewed-by: Andreas Kemnade