From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 55B7FC433F5 for ; Mon, 27 Sep 2021 20:08:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3486060FED for ; Mon, 27 Sep 2021 20:08:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236793AbhI0UKR (ORCPT ); Mon, 27 Sep 2021 16:10:17 -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 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