Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp6947380imb; Sat, 9 Mar 2019 10:50:27 -0800 (PST) X-Google-Smtp-Source: APXvYqxujq3Jb3b8JwmT4jtzKHVCmgHtagbSNMpMyNJglxpocbjm440yMl+kD/OzgPzEx88sbnQ0 X-Received: by 2002:a63:fc49:: with SMTP id r9mr22463179pgk.447.1552157427461; Sat, 09 Mar 2019 10:50:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1552157427; cv=none; d=google.com; s=arc-20160816; b=n3bGrDbiGC9M2Bmuq3eI7Pr47N2uM6zn+YjgtZx5wOR/5z8dx20B8ccSwYfCrjqr7h V9ss0HUd8upvy/QDU8u7McDJm+cXiA1PJ+mOoo3oMllpU2CClkgYcWe3lpIgOK657+Kt Xwptbg4CyoR/6e31OlNRLzOuvQuhzm8A0GL/oajL0qtrnrwoURDe0t4OulTdVvmdvxgx uxqAOE9OglO1SoLrdjQagR6JieiN35i87VueG358B74wiJ31I8BOLR+Ra6l1l1X4Ij5k t1ItTds6IGL8IuppAubVMXAzBPU5Uu+FCTENmzwj+ZrE5UsKW9vI++oUr5sMHVFT3n7e UOtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=7bZf5PLeX0/swAfWM3tTyYEj9iL4KCaSdxLnzCKsKTA=; b=C+Z1SyPRtrpW3p3BBfUvVR68GdzGh1eInPEN284WHXGfIqWnV8VzaiV+DJQwV5upjB yF0379eh4r3iI+wj6XnizqCcegSjHA7wRMcX9wOWO/tWXclxvW4zxQI+zgAnJkmAIVE5 h8weVP71dQSxSALR4OdM7E+msCRCgp3X5sTyOa5LndkoXc2TG4htPdc1Pr3B+9qBaQCm eD4vvqW4iOnALhizMs4Cdx7ck+EHtLAGUM/UA0xg4CAe2Mjq9D/MwtwbU+U+qyuZ1jBC 9bK3PZifyvOnJgf98vJ8yCZPD0bnAJ9kxTH8BV5LPRmOee0QcuVijbNj7vUvJsYzQ1Ix +99g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=mW2ThlYv; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a62si1012839pge.506.2019.03.09.10.50.11; Sat, 09 Mar 2019 10:50:27 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=mW2ThlYv; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1726392AbfCIStw (ORCPT + 99 others); Sat, 9 Mar 2019 13:49:52 -0500 Received: from mail.kernel.org ([198.145.29.99]:34052 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726348AbfCIStw (ORCPT ); Sat, 9 Mar 2019 13:49:52 -0500 Received: from archlinux (cpc91196-cmbg18-2-0-cust659.5-4.cable.virginm.net [81.96.234.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B53AF20657; Sat, 9 Mar 2019 18:49:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1552157392; bh=dIqFnsf4jlvhrMKK6iq8yWO3ePmn8xkvFBtrvDr6P+Y=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=mW2ThlYv63hmMoGb+VqWNoT0BYFx18LHjQDjAjP85Sljjd6Gcj4bL20oz/FFjGtim vIV55iNX8pTAoLZxFrOKbsS99aQ9cj2hj9Z5Xt+UGQC4sBNQormvQWf1FC67llFDvN Qb4XQoL2T3LcQ0wngw802cJGZd6FNrznCrGTn6WQ= Date: Sat, 9 Mar 2019 18:49:46 +0000 From: Jonathan Cameron To: Anderson Reis Cc: knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, matt.ranostay@konsulko.com, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-usp@googlegroups.com, Anderson Reis , Lucas Oshiro Subject: Re: [PATCH v2 4/4] iio:potentiostat:lmp91000: change dev_err message Message-ID: <20190309184946.35c5446d@archlinux> In-Reply-To: <20190308194655.5983-5-anderson.reis.rosa@usp.com> References: <20190308194655.5983-1-anderson.reis.rosa@usp.com> <20190308194655.5983-5-anderson.reis.rosa@usp.com> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 8 Mar 2019 16:46:55 -0300 Anderson Reis wrote: > Change dev_err message on line 215 in order to inform that > tia-gain-ohm is not defined and an external resistor is not > specified. > > Signed-off-by: Anderson Reis > Signed-off-by: Lucas Oshiro Applied. Thanks, Jonathan > --- > drivers/iio/potentiostat/lmp91000.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/iio/potentiostat/lmp91000.c b/drivers/iio/potentiostat/lmp91000.c > index 1de17924e154..5ed9752008a5 100644 > --- a/drivers/iio/potentiostat/lmp91000.c > +++ b/drivers/iio/potentiostat/lmp91000.c > @@ -212,7 +212,7 @@ static int lmp91000_read_config(struct lmp91000_data *data) > ret = of_property_read_u32(np, "ti,tia-gain-ohm", &val); > if (ret) { > if (!of_property_read_bool(np, "ti,external-tia-resistor")) > - dev_err(dev, "no ti,tia-gain-ohm defined"); > + dev_err(dev, "no ti,tia-gain-ohm defined and external resistor not specified\n"); > return ret; > } > val = 0;