Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp2027594rdd; Thu, 11 Jan 2024 18:00:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IHzCfHSKVJJ40bMOEfwglfk/uK4TouQY7SVeXW8AauRC3CUJxp4kJI+UlDxz5wN4RTpJ6K6 X-Received: by 2002:a05:600c:310e:b0:40d:5798:17af with SMTP id g14-20020a05600c310e00b0040d579817afmr337304wmo.6.1705024837155; Thu, 11 Jan 2024 18:00:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705024837; cv=none; d=google.com; s=arc-20160816; b=aUxL4aIn1S5Hq70rYb04KKUiUKDGF7ome1kRmUmPAiK6Ypkrt0iikODjeS6re5qva0 3h6eoEM9fPT5aa7XgqQgY1S5SYnZAE5yy0Ei/mDd/9QmbSmvyoCVy9uPOA1+IiTr5oDC JYGIslYN/ZZrN37WbfxIRrPRwu1mggfN1aZaKYKvMhXMMmjUkeNnixR7C8cLRx1JYYhs prjXLVwmTtldF19agHmQixn9GQXwpZlyTegyR1NfpW+HjmK+fAXy99GkjpDaz4m/weDq mWYgXPJBQd8v0Mbq/kyk60bXDjxxMg0UymOiJveC3yT65Q2bNVL3oNYpHwOTsYhnp/bN ggAw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=d8C8D0g6wmsQgqFG6zgRhQvyei84I26PEqXA/fE8F5Q=; fh=FMJmGX+gYgZZ4zniFJydKpdDhHSUEEwFSML7RHcUZ/w=; b=WbUDf/OY088aymIMCFf0ua6yNJZJcvyKnYCTz9Fogbj1Vs/hQ7/JrGzkLMd6Vvx+hh QQHEyqXt3Cm5Wih2opduA3Mll4YtfknR8ATp6pcDXAoXRF1UKjWA5p0JwXav7s5VwJ5S mkerWu7sn7knzzFKXkineZXn7i10tZTQlIMWVj19z8ecw43ofb7M2tIhFgYo2YXJYc3b rAlYfvLkvNsAWJG/ta7/3wDoQo6DEsW0XzfBF61c9r7Jk5Z1klwfS3PG2KXc1dbJdZaV ae2SBJmjQKOpxngOaJv1OUAYYP5K4/APvUyJfXYurA3MCUV9NDAdoQQu8nxzz8RYrtxA YZTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="IBP/Ghlh"; spf=pass (google.com: domain of linux-kernel+bounces-24222-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24222-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id s3-20020a170906c30300b00a1d1a631026si1046723ejz.518.2024.01.11.18.00.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 18:00:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-24222-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="IBP/Ghlh"; spf=pass (google.com: domain of linux-kernel+bounces-24222-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24222-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.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 am.mirrors.kernel.org (Postfix) with ESMTPS id E12611F25E60 for ; Fri, 12 Jan 2024 02:00:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F0D85139F; Fri, 12 Jan 2024 02:00:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="IBP/Ghlh" Received: from mail-pl1-f170.google.com (mail-pl1-f170.google.com [209.85.214.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E1DFCEA6; Fri, 12 Jan 2024 02:00:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pl1-f170.google.com with SMTP id d9443c01a7336-1d4a2526a7eso36235285ad.3; Thu, 11 Jan 2024 18:00:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705024823; x=1705629623; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=d8C8D0g6wmsQgqFG6zgRhQvyei84I26PEqXA/fE8F5Q=; b=IBP/GhlhwWsK9dqSr+2Id/2h20kACkYrBwYSITeiwZJX5DMFdClPlYExQGqlvR4CdL roJMo6Ifz60gClEVkWPT6vKaYgbzIAZOAQZ+aLLygN2XtN8AMj7el1dVfCVl5gsXLSNv 6zx1nMfk4/WNuZTR/tF/jCDdIdnvDWqsDYD2+A7USUBc5Y83e3kYDKq5oUWaHWNwZDi8 NnDAokHd6pipVQ7VcrvidLSU/sIGD0KknC61NiLnK4abQOan8n0hZ93+N2CRoFR6FzWq ptZYvfsEt6srdIlz4rvHZMe/mKuQtl1l77lYBurfHbQwd4WMzjhgiRJx3hThVDvHja7D fa/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705024823; x=1705629623; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=d8C8D0g6wmsQgqFG6zgRhQvyei84I26PEqXA/fE8F5Q=; b=L6mj/GP/zcyIN7pceQR5hB0VWSa6yOJNHxvB7kMFlY2F2oVhxmY2z8huxJ+HfJoVSD un9OoXELRXdAhk4CLXnQu1xHobY3uawzvz/p4pdcLXg+o9xnDcJTvHavXFYvw8jsRMPE FjSU1jPRZilN6tK2IUz+AYJmDrWo/oGRJos0WQZzWB9UlHsWVC51NKjmuda2ySAfHlqs OVsPG6AmFbAFqyMvHEKvkhiHXjz93hDIG+c70MaN2vZeJ9BLTUE00iQxWQFmWfEEiQjS Z8TBcWE5wxutrdtsrSeHKI7MFufk7OXsM16HlJrpgwfXgfsue3XfIHHHt3WfO95otFDK dEBw== X-Gm-Message-State: AOJu0YxN7Cr8x3pYnQKLnD7pV/59NMfbwirE9XFbPGEc3oupbV9aEft/ UNwZDlqePYIaJpYZJK7EhJE= X-Received: by 2002:a17:902:c38c:b0:1d4:b199:bca2 with SMTP id g12-20020a170902c38c00b001d4b199bca2mr194945plg.78.1705024823107; Thu, 11 Jan 2024 18:00:23 -0800 (PST) Received: from localhost ([2804:30c:924:6f00:42e7:f3b7:14b8:1cbe]) by smtp.gmail.com with ESMTPSA id d24-20020a170902aa9800b001d3563c87a6sm1851913plr.281.2024.01.11.18.00.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 18:00:22 -0800 (PST) Date: Thu, 11 Jan 2024 23:00:22 -0300 From: Marcelo Schmitt To: Dan Carpenter Cc: Marcelo Schmitt , Lars-Peter Clausen , Michael Hennerich , Jonathan Cameron , 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: References: 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-Disposition: inline In-Reply-To: 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 > 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 > >