Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp601950lqh; Thu, 28 Mar 2024 10:34:03 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUST+0vjHomjMInXi+u28G6oUghE3NzqsJyjFMkrdRYeKXwANf/qlgkcpbRXKrXAve/SKqZlKERzKJlgvFcFE/Pd3jNT7xz53ai808Cdg== X-Google-Smtp-Source: AGHT+IFmX+qpQcA06Ha95ZwpvSxI6pyua7ihLN5L89NNWwruUSABBbU2wbviNYlA9fmC5kN53K1s X-Received: by 2002:a17:902:f703:b0:1e0:c571:d648 with SMTP id h3-20020a170902f70300b001e0c571d648mr3354406plo.9.1711647243278; Thu, 28 Mar 2024 10:34:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711647243; cv=pass; d=google.com; s=arc-20160816; b=YGovk0BxoFWsppSp97R65gkC7pzCRZQTmQoghSFXVMUDeCSTd+7b7iTFGVmkbTjL7a x7zqN48BzFplwPjJ1Pi0oaCU6Fc8V4f/v6u4wNocsJA/5qyYzP0JrlAUeGjGFYTumJ0k QhZGaMyKuzQ5+C+Ahyg5dyXkbAF1KtF6p4GPPxWoAhlq/dGadSsk+BMwfZWYiV1/XavI /Z0kVYNLP89wfIT/XbBaVAF91tPGgWheHPgpz2rjSmKqJ0kpG+F/WCmhfEMplxoJYfIq E1h/fQ6Y8cyTgmM0UhtwcRGEPC3orvH/wPkrR3tCjBa7CI3ERjzPwfM9FY+jL5m5UwI9 zenQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:references:in-reply-to:date:cc :to:from:subject:message-id:dkim-signature; bh=6RQDoGeT546Pixy+4SXFxoN5IeqOGhhfiLlcwZ1C7v4=; fh=61nbj/GaJbjVfKdsqjz8CG5GkmZuB+413OXpJTTsQUk=; b=zXI/XTm1USqqvI4Z4NPkKPAM84wIVtf2BRsXmxAJZ0S0BtJdgVb3dpW0qVrSZStf9L 5QK3SpvZau3UxikGZbnTD58u6YBBBSkYoeU2fgRRzHPkQO0O2PiuBuKXHFRivve4eWbA H8eLGMaMUWUrmN35VVOHGy5+tWmd6AEXBIvFwf0CHM5KEFSc/5dwzLO6I67CnYSr9uJq TtpfUQRPT3ynFyPgN8kh+rUxQO0YP1RHj37PJeefFtuNSvr0vbDtE9KbqBaRi+YU/+U5 9uhFGIRBEusMIUinViXlzUWSGWCVA4rqbe11x6xz+vC4XsLuEYClK+rH6/gjwhGD2f4+ muaw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=D4TOsC4u; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-123344-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-123344-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id m34-20020a635822000000b005e428bf5de1si1758246pgb.749.2024.03.28.10.34.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 10:34:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-123344-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=D4TOsC4u; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-123344-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-123344-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 4E348B2540F for ; Thu, 28 Mar 2024 17:10:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9CC57446A9; Thu, 28 Mar 2024 17:07:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="D4TOsC4u" Received: from mail-lj1-f175.google.com (mail-lj1-f175.google.com [209.85.208.175]) (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 0B2AA3BBDE; Thu, 28 Mar 2024 17:07:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711645646; cv=none; b=Xg3g0/k4E2EOinzgOsn8ZEzmu3kPuRaW0f5WvH1Or/pYdXtqpSwU84JpYaIy/zYWjo23F4dhajZK/cEuwAInav2Y4pYSRoeBJEN2jLCpxrBr4AKsQMMRIJi/onOzm0gOIqj4LA9N8kPyIUxTrOauxNrIVgf6uGWF5dZhJLdhbx0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711645646; c=relaxed/simple; bh=6RQDoGeT546Pixy+4SXFxoN5IeqOGhhfiLlcwZ1C7v4=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=XooakCZMl+YbESaDGiiLzG3RnTAGu/1HjbqPelZCZbZceKwxjxjlAhPDP4gVOD3J/JjcmTOOoRQYPlEHvPg5INZWoen/5hI0yWhrZVNR57J49nZ4o5jfhEn2yFVK3b0O0rPNCWR8n8sBzPr2C3u04wvA20LXlAcnEi8H92y99bg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=D4TOsC4u; arc=none smtp.client-ip=209.85.208.175 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-lj1-f175.google.com with SMTP id 38308e7fff4ca-2d485886545so19131401fa.2; Thu, 28 Mar 2024 10:07:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711645643; x=1712250443; darn=vger.kernel.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=6RQDoGeT546Pixy+4SXFxoN5IeqOGhhfiLlcwZ1C7v4=; b=D4TOsC4uazCP1AdIxcB83L5IkaZGM+PhyZFYEwFzGdui8Eizd2SEFek3PQa7Gjx5em t1yRgwcfClP7UzL0Hr5xOSG5nMl9pzQ9JVdGYwrB29AuKgJ5tI7N5iXt9GODb/iLrcDF gwhcX3zE4ayjlzgCHJ5skC7kKvGo7pgOPxjpsLptFC0FpbNwKIIrYUuAB3AlOPegJskB JezbJJ+h8RYesegqnxPXgP95wBNB/CxwuMij4c0FjA0F46zOmMz8CkAZdKAnCqjqFvWR U6b4L1wW5Scx52seB+NAyqnALElPK+QV0v7PzYKjU9ucgcQvmMBX51qx8OTpTfdUpr63 sj3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711645643; x=1712250443; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=6RQDoGeT546Pixy+4SXFxoN5IeqOGhhfiLlcwZ1C7v4=; b=h6vc/cnmZwQAeBkIxkogY3EEmyQJcJlOD9pbqz1k2RqZZn2YB4wAjw97vqnFrZpy1+ oVarEi4HDAQGfI5WE0anldNMgfiVzMZg4MIBggfwcs9wwwKW0K5+Yrs/jggBJnA3qg8Q iGur3+81TJSZ87QCU6+qxb2cLghhRrauXDCLW2wD7os8oYFpKO7Xh0qJLMiU/mxAiwnC FAGpdpSHDrB21cbKI2EYRpghuuvGwh2QuxKDwc8N/JQyHix3iA8ACSIAEMWYZxtC9yXN vzqd9ZL5Q43P5XdroeNoGKG87okcDjIUnx56wqCtWFaxyRAvUnWGaFMKvC+Eo7wyJXuo X3tg== X-Forwarded-Encrypted: i=1; AJvYcCVeuXbDEtP3tENbNXkHQGun2YrlZlQpr4yWAmZchgcSqFaXRoG6E/c7YRRRvx6lvfEk808s45YuvGBOnrSL2KOsceR2reGCcmKANC7woPcOei/QP98T+Nts9Tq0XOZ+0IxaLpW09cz/FTA3FmbjI9vLr6Fs00ssXVMKBBW9xXWOajpEpw== X-Gm-Message-State: AOJu0YzroxUvm0nnZGYPB1/9hEyb+fVTSO4KAHU+VxgWMaQL0twvwJc+ /s/L62MpC08DpRZMm6GlYEEfHKuqPH79mP4zhdvYnzt5S7kUVMuU+iYJPl/ydlE= X-Received: by 2002:a2e:819a:0:b0:2d6:a11f:b4b2 with SMTP id e26-20020a2e819a000000b002d6a11fb4b2mr2996588ljg.25.1711645642712; Thu, 28 Mar 2024 10:07:22 -0700 (PDT) Received: from ?IPv6:2001:a61:343e:8301:d737:22b0:7431:8d01? ([2001:a61:343e:8301:d737:22b0:7431:8d01]) by smtp.gmail.com with ESMTPSA id bk5-20020a170907360500b00a46b4c09670sm942429ejc.131.2024.03.28.10.07.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 10:07:22 -0700 (PDT) Message-ID: Subject: Re: [PATCH v4 0/6] iio: temperature: ltc2983: small improvements From: Nuno =?ISO-8859-1?Q?S=E1?= To: Jonathan Cameron , Nuno Sa via B4 Relay Cc: nuno.sa@analog.com, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, Lars-Peter Clausen , Michael Hennerich , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Olivier Moysan , Jyoti Bhayana , Krzysztof Kozlowski Date: Thu, 28 Mar 2024 18:07:21 +0100 In-Reply-To: <20240328165650.1d8d4216@jic23-huawei> References: <20240328-ltc2983-misc-improv-v4-0-0cc428c07cd5@analog.com> <20240328165650.1d8d4216@jic23-huawei> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.4 (3.50.4-1.fc39) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 On Thu, 2024-03-28 at 16:56 +0000, Jonathan Cameron wrote: > On Thu, 28 Mar 2024 17:22:00 +0100 > Nuno Sa via B4 Relay wrote: >=20 > > The v4 introduces an new dev_errp_probe() helper to deal with cases > > where we want to return error pointers. The refactor in the IIO ltc2983 > > is an heavy user of the pattern and was the main motivation for this. > >=20 > > Also added two new patches so we have three users of the new > > dev_errp_probe() helper.=20 >=20 > Probably better to do this as 2 series. The other ltc2983 changes in one = series > and one with a cover letter title that will get noticed by > those who care about dev_printk helpers. >=20 That makes sense, yes. - Nuno S=C3=A1 > From a quick look the content of the patches is fine. >=20 > Jonathan >=20 > >=20 > > --- > > Changes in v4: > > - Link to v3: > > https://lore.kernel.org/r/20240301-ltc2983-misc-improv-v3-0-c09516ac0ef= c@analog.com > > - Patch 1 > > =C2=A0* New patch > > - Patch 2 > > =C2=A0* Use dev_errp_probe() instead of local variant > > - Patch 5 > > =C2=A0* New patch > > - Patch 6 > > =C2=A0* New patch > >=20 > > --- > > Nuno Sa (6): > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 printk: add new dev_errp_probe() helper > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 iio: temperature: ltc2983: convert to de= v_err_probe() > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 dt-bindings: iio: temperature: ltc2983: = document power supply > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 iio: temperature: ltc2983: support vdd r= egulator > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 iio: backend: make use dev_errp_probe() > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 iio: common: scmi_iio: convert to dev_er= r_probe() > >=20 > > =C2=A0.../bindings/iio/temperature/adi,ltc2983.yaml=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0 |=C2=A0=C2=A0 4 + > > =C2=A0drivers/iio/common/scmi_sensors/scmi_iio.c=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0 45 ++-- > > =C2=A0drivers/iio/industrialio-backend.c=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0= =C2=A0 8 +- > > =C2=A0drivers/iio/temperature/ltc2983.c=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | = 260 ++++++++++----------- > > =C2=A0include/linux/dev_printk.h=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 |=C2=A0=C2=A0 5 + > > =C2=A05 files changed, 151 insertions(+), 171 deletions(-) > > --- > > base-commit: 27eea4778db8268cd6dc80a5b853c599bd3099f1 > > change-id: 20240227-ltc2983-misc-improv-d9c4a3819b1f > > -- > >=20 > > Thanks! > > - Nuno S=C3=A1 > >=20 > >=20 >=20