Received: by 2002:ab2:b82:0:b0:1f3:401:3cfb with SMTP id 2csp585318lqh; Thu, 28 Mar 2024 10:07:37 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX7cYe9yOeHW4TPYCmvY/AxidmYLfRakcUzdmSdBtjuZI/s/Jq54zWq3IKC38Ag2epymtHplnUBJJul6Ol7TOX+JAA2lr8Tc0sg9a9pSw== X-Google-Smtp-Source: AGHT+IEEWwqIKqfRUoIQ7GI9rPthffyKnGCyiPsLdGyZXaa8MCStuQr/k3gFbwhnRFjOlDtSMJ8J X-Received: by 2002:a05:6a00:b54:b0:6ea:7b38:a0fb with SMTP id p20-20020a056a000b5400b006ea7b38a0fbmr3877941pfo.5.1711645657167; Thu, 28 Mar 2024 10:07:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711645657; cv=pass; d=google.com; s=arc-20160816; b=wcYMSuZa3Br6uJufrcaarwFjla401wP/16BKA7WdiZhMIvkUnJ+77zHhLjAQc3KZai KwRwU7Pf2hHYKdkyZoEh0p+fVxcwYxNPoVpRjtajYAofkFDwZlj61iLnNveUHCHr6fsD UHmlZzFG+gVyLoR3AO3viT/qK5KP8i0XSJxqBLsF92ke5uUvp4ibJDV7NlFQeDUwVFFt a2LMrDeExqNHQOX7gb1jdy2B6ZWAi+2bmmieTgW01uzsM0VbJfdPbZkx4ma8FJFgGZ6T AlB8ufy1UAIEmshLzVFVUG3H17X6+dB8jyDLEamfTTQm76HKDxLDp6wW0UVoygs5pLEC WVUw== 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=AMWNtBbv2zBdDRkVRi8iuic+omdZC0p8PWfigJIV9N8=; fh=UDPf+TCVeRFt+RtQLXGJujLMUGOsIOLJPBu5wT3BhAw=; b=xghAavHPX/mqxDf5hk1j/QgIOUzDqmBhXQrYStIxjk1zKu3EJFA8LOAR0LLJEECK/u tvu5cKz23f+Bxhz7ItnnXQ0bKwB+rhd8pF51VNWR1RgeHWkhytjvJsRGaTtpwk0T4etT asi48fxqwxPPj74miV62WnG4Y2uJQzpNIncRuHjeJosRSwqvCzEDyWJxKL2su2LbXMGY nmep+dyjcOBlGFMHLf5TKtU/ChmmP2MivqNPSRiYw0E7mu+wZ8LoT99DI0yHAb+cLqUN 3UeUB+ClqIEA/+M6nOi/D2gB5TEc4SEr3r4aScJRjfjEaAs+9goydNYifsRPFXXMRxBu Enuw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=K1QE8VBF; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-123313-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-123313-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id hq18-20020a056a00681200b006ead0f48ad2si1758530pfb.402.2024.03.28.10.07.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Mar 2024 10:07:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-123313-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=K1QE8VBF; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-123313-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-123313-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id ECFC5B23F99 for ; Thu, 28 Mar 2024 16:57:27 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8D9733C47C; Thu, 28 Mar 2024 16:57:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="K1QE8VBF" 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 98C6440852; Thu, 28 Mar 2024 16:57:07 +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=1711645027; cv=none; b=CfxH1W73S0oz+NGfK3+tu4BYLJwnikHEARD+BuDNjscwSHVUT3Ro1Bhjj3CMVnSZgirZ12v4dmkZ3PbnacNswwJaHNbBT8NeLlff/FVaDyDBab1W63ts0NB8CdI0MRXFl54Aapjuy+H0YSxzV9W7WGe4YwjcwTgRq1PXa7PXZAU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711645027; c=relaxed/simple; bh=qX8ERP3MjA3dKFRsy6HjmzCyO64pCY9x430Gltfx0wQ=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=OvY8MQ+MgEwQcvcdRgY1hANlbG4ISP8KiPCetgOd6PpiUdvW1Xvcz5dQq6MbxfqjNzZbEYaNv1nPLXr+ql9R36Zs1p1euooHKdM3A8Bd1HUrxmwzRYHJEganFWYHX7j/0pXrYL3B2usCHVQG2N72PZ/5Bhz5auv4Y97Ist6qB38= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=K1QE8VBF; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 46BB1C433C7; Thu, 28 Mar 2024 16:57:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711645027; bh=qX8ERP3MjA3dKFRsy6HjmzCyO64pCY9x430Gltfx0wQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=K1QE8VBFbj7+ZnTIFGyvwBRCOb9d949THgq1iDHiI+raKzEQpa37gDXpBmc2NwSwU 97k1a8IuOfgijujEdWntt6utCM36V6FoUx01NXu8V2PglNd4W5GdtZh4kJu4Zgo+7x Ql9VpSpme+BkbesDto3S3eEeBulvKcpehpjmP6rPSRtdTuxGYKdnNWMvSNWtOy8gyQ inwer6xXQNAk/FmKy4FHH7zCUnsHLH8m3qXvIRLUrvtsd/5oaiTP6w9DYoP9XfJXld rRPjnTEpihv/rGnp8xBZO58zjhwz1PpzGvSAK7Cr1XwM9HQoVJ0yDz542AJZ2fESLo hkexWnPXmHXDQ== Date: Thu, 28 Mar 2024 16:56:50 +0000 From: Jonathan Cameron To: 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 Subject: Re: [PATCH v4 0/6] iio: temperature: ltc2983: small improvements Message-ID: <20240328165650.1d8d4216@jic23-huawei> In-Reply-To: <20240328-ltc2983-misc-improv-v4-0-0cc428c07cd5@analog.com> References: <20240328-ltc2983-misc-improv-v4-0-0cc428c07cd5@analog.com> X-Mailer: Claws Mail 4.2.0 (GTK 3.24.41; 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=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, 28 Mar 2024 17:22:00 +0100 Nuno Sa via B4 Relay wrote: > 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 Probably better to do this as 2 series. The other ltc2983 changes in one se= ries and one with a cover letter title that will get noticed by those who care about dev_printk helpers. =46rom a quick look the content of the patches is fine. Jonathan >=20 > --- > Changes in v4: > - Link to v3: https://lore.kernel.org/r/20240301-ltc2983-misc-improv-v3-0= -c09516ac0efc@analog.com > - Patch 1 > * New patch > - Patch 2 > * Use dev_errp_probe() instead of local variant > - Patch 5 > * New patch > - Patch 6 > * New patch >=20 > --- > Nuno Sa (6): > printk: add new dev_errp_probe() helper > iio: temperature: ltc2983: convert to dev_err_probe() > dt-bindings: iio: temperature: ltc2983: document power supply > iio: temperature: ltc2983: support vdd regulator > iio: backend: make use dev_errp_probe() > iio: common: scmi_iio: convert to dev_err_probe() >=20 > .../bindings/iio/temperature/adi,ltc2983.yaml | 4 + > drivers/iio/common/scmi_sensors/scmi_iio.c | 45 ++-- > drivers/iio/industrialio-backend.c | 8 +- > drivers/iio/temperature/ltc2983.c | 260 ++++++++++-----= ------ > include/linux/dev_printk.h | 5 + > 5 files changed, 151 insertions(+), 171 deletions(-) > --- > base-commit: 27eea4778db8268cd6dc80a5b853c599bd3099f1 > change-id: 20240227-ltc2983-misc-improv-d9c4a3819b1f > -- >=20 > Thanks! > - Nuno S=C3=A1 >=20 >=20