Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp2143866rdb; Sun, 21 Jan 2024 09:11:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IHPhzD3n6nG3gzUxAdZ7EztHC5knnCJFAh3d118CtYoc1rlSUzV8IpLBElSk9h3yPI58fDT X-Received: by 2002:a05:6358:2c8d:b0:175:4fc2:1ab4 with SMTP id l13-20020a0563582c8d00b001754fc21ab4mr3496372rwm.45.1705857112318; Sun, 21 Jan 2024 09:11:52 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705857112; cv=pass; d=google.com; s=arc-20160816; b=O55kHgVc0ZG91YLv34fG79AGVg+VZQnBQbXj8PUpFPh9FLtahJ3HWaoWa6xYuwvP4w IXu0XEez6MN4hPQCAUw0GZplPGebnu2lvjbvge9Wr5kOqqGLPMKbKtKUJSqiTutegF9w ma7c7CjrdjcmYoiX0NCam42Nrsel10qQCaCPMfx4i3aGt5CJtEk/IEqZLId/HrZR6unr Zki4vmne11HbCj618mjPwMWVsMHS7CNre/T3DUxV6fFKTqEoyqgWhxgOyoQjRkm3jAR/ eAyIhif7UX3hkX1jOUpq3T1Ux93oCrI6WRm4ABUOn26OgwRu2i54uP8EurW0RBlUQKQp BKRA== 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:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=kC1lNto96u/hcrTQbBNGQbtaq4DxhgUwrR63eiWmmI4=; fh=aXVytE4qs5D6AgSCy+fastGRXNANHIIJIBkC6Li0CLQ=; b=HGJxO1E3fqnLP+WLc5PNetlRYMFZxBn0oLcdKr0e5Fh9NaqJBnQuk60uoscBQj7d3a /gwEN7VEWRyxDg2h2+SWluMsOqkDDW1NjqguH6duefhDQyf58sCeMORpkfNTHJ2IyTLn F276cztxuPgT3AVj088P777gzKMeQULg+4ax7AnR25X+lXOMvIIbpNrSruDmuSk1r6UI HDIHUp5PXxzMQ+s4tb9Ju4NdL7yPFoy+vWD2ArC5lM9FTW4TV4Goqm7InNbG62dAh7ay mrTxfdZVGGqChbP2jvgEtUiSfgMFpXAa2KeZA6ffDUuSKpg4+z7SKQww3OYlfV1uNTYr LozA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bUZCdhIe; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-32136-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32136-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id fa8-20020a17090af0c800b0028b6aa45c29si6946118pjb.59.2024.01.21.09.11.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Jan 2024 09:11:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-32136-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bUZCdhIe; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-32136-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-32136-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id B8F102834A9 for ; Sun, 21 Jan 2024 17:03:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 489F73A1C4; Sun, 21 Jan 2024 16:59:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="bUZCdhIe" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 6D67C3A1AA; Sun, 21 Jan 2024 16:59:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705856371; cv=none; b=pDUGZK9ffBdD3cmJwJXYeAleizuWY3omqLkD8WUepKshQmK7PumXZfw1AvMuofBBVpG1M7BtCGi8KWr3UnvJPfhrGLjljN5H0KbtsXJOQwzDq7e3SLrIMVzuUczy1rKI/4U+IWSX7ACa85pjZyTuutJK0TTVyWj0QpCEl6jCpM8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705856371; c=relaxed/simple; bh=/lIv+VUUpsGxYSSv4VVFy0oNYdfHK3EeEkjk58z7vws=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=pO0QiCJgkIfJhDFrewRXxdUsMkaTMQ/nr9ipjQuzN97QmIc8WHUZWbIN9novnQxLVWXS2GBA6uFA58fd7aLOKaOZL1Ai7MmyIO+l5/6Y8qMl8YqTVM7KozOrYmpGgfN1nVvJrm4P5WbhL99f/IHlHOaUYrWGXmBR1ir2rDPPJGc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=bUZCdhIe; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id AE5F2C433C7; Sun, 21 Jan 2024 16:59:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705856370; bh=/lIv+VUUpsGxYSSv4VVFy0oNYdfHK3EeEkjk58z7vws=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=bUZCdhIebivnc+wfH++5dnJjGOB18ZtHPlpABi/SwFdNRaiauMUsMFs/eghUxK4RF Q2JkBEPVM3PWpE97XSLr/Mk6dDUPgSzp9eIcqQHADST1JaNmyCbTrX5EiI9WBGTBmU lrhp9WRXlPphcYiKECHYUarpj2WrXzGD0MBTD8ecPI7gbiNvnc9mbqe7aTutxdkfnj /r6OXvzb3baex4lPdaGp9K3U1Hiwh06+TC/W4NqxO2a0V+NskO2l5vh/8pa0XNpoIn t3PRIuWu2vc9iYFxE25nyUs3+vKeRz4oTdULG1aZrpGm5h96dGWrkChuT/OT2t0sG2 J4VdupMUhA0Dw== Date: Sun, 21 Jan 2024 16:59:14 +0000 From: Jonathan Cameron To: Marcelo Schmitt Cc: Dan Carpenter , Marcelo Schmitt , Lars-Peter Clausen , Michael Hennerich , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH] iio: adc: ad7091r8: Fix error code in ad7091r8_gpio_setup() Message-ID: <20240121165914.21486583@jic23-huawei> In-Reply-To: References: X-Mailer: Claws Mail 4.2.0 (GTK 3.24.40; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Thu, 11 Jan 2024 23:00:22 -0300 Marcelo Schmitt wrote: > On 01/08, Dan Carpenter wrote: > > There is a copy and paste error so it accidentally returns ->convst_gpio > > instead of ->reset_gpio. Fix it. > > > > Fixes: 0b76ff46c463 ("iio: adc: Add support for AD7091R-8") > > Signed-off-by: Dan Carpenter > > --- > > Oops, that also slipped through. > Thanks for the fix. > > Reviewed-by: Marcelo Schmitt Applied to the fixes-togreg branch of iio.git. Thanks, Jonathan > > > drivers/iio/adc/ad7091r8.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/drivers/iio/adc/ad7091r8.c b/drivers/iio/adc/ad7091r8.c > > index 57700f124803..700564305057 100644 > > --- a/drivers/iio/adc/ad7091r8.c > > +++ b/drivers/iio/adc/ad7091r8.c > > @@ -195,7 +195,7 @@ static int ad7091r8_gpio_setup(struct ad7091r_state *st) > > st->reset_gpio = devm_gpiod_get_optional(st->dev, "reset", > > GPIOD_OUT_HIGH); > > if (IS_ERR(st->reset_gpio)) > > - return dev_err_probe(st->dev, PTR_ERR(st->convst_gpio), > > + return dev_err_probe(st->dev, PTR_ERR(st->reset_gpio), > > "Error on requesting reset GPIO\n"); > > > > if (st->reset_gpio) { > > -- > > 2.42.0 > > > >