From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 910B4C2BD05 for ; Mon, 24 Jun 2024 08:18:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version: Content-Transfer-Encoding:Content-Type:References:In-Reply-To:Date:Cc:To:From :Subject:Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=je7iVUYucuoeYQLpqSsqzD6r2n/1GXf0qdUuHS7ILWI=; b=4uvuArmJ75a+yDnbAtw8OH+mZd nZ/TptjCvoBlVGS6Un9tlpdo5/ymXGZFci+q/PcR+qFzsZPLdnw4ppntsoHueOQk29YLDss/HBv91 xCGGoh+/+b/BEdUQr0R66381xNdIGQYppYWcZku+vTKVjUgq/lz6GAhmEJkrowroujzEYmhMBs0u7 jGP3JMXZUqFye38fkftAynRVQfcbZXE0Ok0+mcUlXWiwketx0WpWZIDtNzOEPdlCi9zj+EdSgxVT+ yK088v3PuKiDXcgnno5Ypn25N83Uxy77ax3vw1tQKemlbb2q9NCl5Scr+EXnCOiVLvLfqMeyPwE4y oPwQSbkg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sLeu7-0000000G0FY-0ymm; Mon, 24 Jun 2024 08:18:23 +0000 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sLety-0000000G0EC-2Qck for linux-arm-kernel@lists.infradead.org; Mon, 24 Jun 2024 08:18:19 +0000 Received: by mail-wr1-x42a.google.com with SMTP id ffacd0b85a97d-3658197cdbbso2078701f8f.3 for ; Mon, 24 Jun 2024 01:18:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719217093; x=1719821893; darn=lists.infradead.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=je7iVUYucuoeYQLpqSsqzD6r2n/1GXf0qdUuHS7ILWI=; b=C9vwQw6mc+cinDJPTet8LryvHc9+brjc4sRKIWVisZzBXCSnEp+4Y+S8G7No9Ld7tI YljVI5isC4ZSrN9cTv/hnm+6zzG94Z4+akldPH+bAG1DSeFe90yiWUfMWPCwTm9DmBBI 8/60IYS3JOaxPiKS2KsyjEt9ZrOmxoiJuGzzKAe7EqysZudU5KlAdfYcU5Wvzfple7V+ cfDkgQ+pHh2V7DQC53N1LdQgKWpaAKo0R/gf3jaVOhTFaznLsy4opPH8uXQl3XsaM7+U c5v9J29sXCc2N0yFY1d1MGrnwdoe2HhjOXmQWnxYrPnQ85/c6KB7dWrEbUUBtfI27s86 AG7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719217093; x=1719821893; 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=je7iVUYucuoeYQLpqSsqzD6r2n/1GXf0qdUuHS7ILWI=; b=SLeoyxdkxp5avhU9AzG2QS0fzCND/cvJ5LMpJg0O5XAeA3OIG7CNqOhlKktIa1tH66 4Yj+kF6nFDqXql7k3jFEX7+3oSamLwkVDah4TWf3OfCyuUIZNRDRPN+JLdZ7H//pKdUv LGvrse++wae/Q1nyMtmnTo9jqqPVYgRZrOGJWyGGqrq5dS04g+MQ1xyrzFYl22BU77if Z27el8CJLzlfYVWfXVboKQMvXORXrmBngMb1HXL1AqbhglJEDZ4dm5a4h0uZAwXhdXXY BXOHPThomS4LVgT7PSyMcBMTB2Nf260gFKTsBP1SG7ciiFGjENuP4WKRtJAO80gSyxaq g9Wg== X-Forwarded-Encrypted: i=1; AJvYcCXrLpP+o1HFb++Pb+JwqA6GEkYrXsI73Gfoun7jKYo9Gw2MZ3Buy1vWMlHCRiVtPYvXizeLTHk+WQjpWs/H0MuxbjacQ+sVKV490TSCu2cyze9LuBg= X-Gm-Message-State: AOJu0YwwweFphPcLsFQ6G8KYud6Ec8QQglzAeMxUPeF2QEGYzdmaZMkG Y2sZp+FARVVgS0IoiO2h6JiCSs4PbfY3VciqpttzJQTeWfNP9GZs X-Google-Smtp-Source: AGHT+IHnGYFexaKtfHeEI03foXMgcT/aayb9uK1oNmGi+t02VUhnUy5Mats+3Z7yrA54ooboVT9PcQ== X-Received: by 2002:a5d:6544:0:b0:360:9a8a:5f02 with SMTP id ffacd0b85a97d-366e9629557mr2709718f8f.58.1719217092782; Mon, 24 Jun 2024 01:18:12 -0700 (PDT) Received: from ?IPv6:2001:a61:35f9:9001:40df:88bb:5090:7ab6? ([2001:a61:35f9:9001:40df:88bb:5090:7ab6]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-366388c3d57sm9306718f8f.35.2024.06.24.01.18.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Jun 2024 01:18:12 -0700 (PDT) Message-ID: Subject: Re: [PATCH 10/10] iio: dac: ad3552r: use devm_regulator_get_enable_read_voltage() From: Nuno =?ISO-8859-1?Q?S=E1?= To: David Lechner , Jonathan Cameron Cc: Joel Stanley , Andrew Jeffery , Liam Girdwood , Mark Brown , Andreas Klinger , Michael Hennerich , Nuno =?ISO-8859-1?Q?S=E1?= , linux-iio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Date: Mon, 24 Jun 2024 10:18:12 +0200 In-Reply-To: <20240621-iio-regulator-refactor-round-2-v1-10-49e50cd0b99a@baylibre.com> References: <20240621-iio-regulator-refactor-round-2-v1-0-49e50cd0b99a@baylibre.com> <20240621-iio-regulator-refactor-round-2-v1-10-49e50cd0b99a@baylibre.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.52.2 (3.52.2-1.fc40) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240624_011818_011572_8E69D2AB X-CRM114-Status: UNSURE ( 9.13 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, 2024-06-21 at 17:11 -0500, David Lechner wrote: > Use devm_regulator_get_enable_read_voltage() to simplify the code. > Error message is slightly changed since there is only one error return > now. >=20 > Signed-off-by: David Lechner > --- Reviewed-by: Nuno Sa