Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp2161690lqa; Tue, 30 Apr 2024 09:36:16 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU6IsnNx6P81VWNAUTnHYb9d8SBiZumi+sZFN4by4eooOBgWOZdNF8B69GfpAigycZOVC+bAqdi4fu3XrcEBdY3MyvVeJDSGzOrjh7xYQ== X-Google-Smtp-Source: AGHT+IGAaswwP5Qva4Ycjeq8ODBXZQP0l1pVSny/Hf1QrYP2YqcIsPsN8z0iMEseZOcQkANfWX0m X-Received: by 2002:a17:906:144a:b0:a55:b810:8678 with SMTP id q10-20020a170906144a00b00a55b8108678mr203554ejc.23.1714494976824; Tue, 30 Apr 2024 09:36:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714494976; cv=pass; d=google.com; s=arc-20160816; b=fbQshmcPxjUewXMX1ajpt1UZPpog75fIj9ooZLK3tolj4cYLMy1DF8AYt0rKFiLcY0 sbV8YTHCN28+3x6RKUIjIRvOv5CmlgJ47344HSVx635V3+4xfHUbKpSehidGc/3WmCFA E9mh02b9F38YwU2LBlrsYy+YNrkbw/rqn26JfFMg5UmBCoO56eKNysulm5nUA3WCuAHG af37YE4vYbHjHjQM4e9BpBg7lLpJxOM3/7BZO4kx+yhO0AZKkEvu6NQuJyDFJ2pswpze NgOxFDy2aPd/+37vk+EMdzQZqbhFak2KHrrcl5wR+zXLa07t4dq9Xr2EApQG49hRG/ku fXiA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :sender:dkim-signature; bh=8yVh0LSF6AnP8AlfPOMnHNGqdMushJrhziYcF69ydXM=; fh=Xlkgu45OTu4aOqX05EjCyfOYZDp8BP8nsIpXiQI+G08=; b=tK7RW/AUuoqGuaDE9xyustTZEM/wRPQwtk+jTtw7R9N3mJ0NVbJmOoz2pbA2Bp5ces OqmWuswF4CuCf12s8Txrih3DFgl62zmfFnNFhMkcwgfoULnzWSdLuo7dFB7BIOUqtYen pTtFkcTKiVIsft1w+W0q0rHqwRzCA/dCUz3RbPexHuMKkYepMKX4i+0CyEJsjT8TnMuj gaZQ4MIG2hhzHvoD1ZOgc9M5KGsdk+b6hv9Il2sa5Hn9wSMhdNvTSPaU8cgK3IhbOPEq VtYXrt6LFhobb0j2CosZG8Fj4VCD9xM9/viMmedFw0O79cK9t/50K/SPI1dr4fzxLgDx xcZg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="d/5iAQ1a"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-164395-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164395-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id cm11-20020a170906f58b00b00a5209dd8ad9si3402567ejd.8.2024.04.30.09.36.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 09:36:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-164395-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="d/5iAQ1a"; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-164395-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164395-linux.lists.archive=gmail.com@vger.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 am.mirrors.kernel.org (Postfix) with ESMTPS id 3EF731F22F32 for ; Tue, 30 Apr 2024 16:36:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8E26E181D03; Tue, 30 Apr 2024 16:34:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="d/5iAQ1a" Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) (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 3B0A1537E4; Tue, 30 Apr 2024 16:34:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714494846; cv=none; b=ocNkQadNMnvOkfLxWeEfyjVBJxG6O4WnyfuyWqrbnugqXjhAJoLk9D+n1kweI3QxgkHm9mU997lkafLewDSK+eXOQRg5Kxczzx2WlsllfoCSD1dSO3qP3cA4XS6JlgHjW4SLsazM/2HYZbdJS+DnnrX4+90ISMLs4abfmRQOs2E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714494846; c=relaxed/simple; bh=Nmts7SGpTnSBJShEKqMgy0d0lvZ16gTsppVGUwwJsn0=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=V/Mdu6VPXMACVpBbcAieYkp7jjrei3N7u+ZYW/e5DrKcJV5Rw6OoXlimYzvH0sZrayiyEAkdD5hjrgHbmHUPKEz1bq97pa5W7WOYbAvytpS8VlftIYDor+Qg6aT/sVLeAMbkfwLUk4OphDv+xMcaKPF5brWOal8sy99SZCWk/es= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=roeck-us.net; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=d/5iAQ1a; arc=none smtp.client-ip=209.85.210.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=roeck-us.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pf1-f173.google.com with SMTP id d2e1a72fcca58-6f0b9f943cbso4844393b3a.0; Tue, 30 Apr 2024 09:34:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714494844; x=1715099644; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:sender:from:to:cc:subject:date:message-id:reply-to; bh=8yVh0LSF6AnP8AlfPOMnHNGqdMushJrhziYcF69ydXM=; b=d/5iAQ1a3BaZ6klWiCUQAdCT9TZDQ2utu3265qtDm3iotKc6Scbey8EXj5RtA4R4// bp9p/eRP5KYBKXf9M91aTjcVX/I7ctW3nVWB5CzWJvMUxTU4bpVjiZ4ezGr9mPP8sSWp bGJPogJLBhr656fcB9koZV7dumpdsm2R4zYpxU9THtTTMtSHm45bG6pvhfC61BouOgt5 AG4yyd2t2aUQCVtH1ja4U8rpsncYg3Fw7+dhVGJECvu7bWLgEgT683kIQBVYIY359cvl KXTJb2e3vNEYy0Nx8+M3x3lkeMWhqUfr0Hxy/Hisv1Jnp73rYRMRn3LKSoZfnAgP8OLQ QgKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714494844; x=1715099644; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=8yVh0LSF6AnP8AlfPOMnHNGqdMushJrhziYcF69ydXM=; b=bjTLlhLgkJrw6EvK3YNv5RLsnd0o5SMtMALRBHsmWe22jMzLv5iw9kS6MmUDmSqlx+ ZqzvmqlABAwwx+7KsXwfbbWRuEClMTfC/ZBaFnNRWrMTjwbF2FRNLDKze7k/DN3msJmr bT1cCvPoZcqNuLo77MuShgcy+RpfQen2xy2h0PzjG5RWvMve7uqYo7r9wOY81pNclOkv 2Q7W2ZH5YxUZflwpx8PSdgRy/YUMPh6JvE9m79DQSLG0U1b9RtdM6zUl82v9n0ILM9Z6 jFJU/dd5rracCd/pWVxMGaXkvpBoq+FYm3ipOMHQHroRKWw7sp90jN2AMAmmPqHr9uz/ BMSw== X-Forwarded-Encrypted: i=1; AJvYcCWKrrDFzVZDiLZX94YJG5uLzMt0cDCv3TyyuAP87K8gmDaa7Qob02mlCaIyih6KatSLez/4X12dFkhrSfFGsfs9omdOi3Jgz+G7RdOAaBuA2zcph586Qwr9kC9kxH6kv2ILVanPn4TZjtJuz9IReu351LYfT+XjbXpiKnKWEdWLUZbwAA84BeCfkUQstSNDq1o4rLiXxiaw/MLrRXWvJp4iUuDm6C+afk+kt0VmcGUi4qTEIkmraWHhA8DJPQ== X-Gm-Message-State: AOJu0YxcZN9oweX88HvDKw3Nuhb+rkBDRooLhfL0PFOaZLOWpZ22Rt2E fs87G7WfdZz267WS9ElLcBRhB8YOCfmcftN7NQGVsam9L1p9pQLS X-Received: by 2002:a05:6a21:33a8:b0:1ac:663f:9efd with SMTP id yy40-20020a056a2133a800b001ac663f9efdmr447542pzb.19.1714494844277; Tue, 30 Apr 2024 09:34:04 -0700 (PDT) Received: from ?IPV6:2600:1700:e321:62f0:329c:23ff:fee3:9d7c? ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id st5-20020a17090b1fc500b002b29ce888fcsm1447456pjb.53.2024.04.30.09.34.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 30 Apr 2024 09:34:03 -0700 (PDT) Sender: Guenter Roeck Message-ID: <453bb1ed-1fe5-4b2c-90a1-eb15a0086489@roeck-us.net> Date: Tue, 30 Apr 2024 09:34:01 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 3/7] hwmon: (da9052) Use devm_regulator_get_enable_read_voltage() To: David Lechner , Liam Girdwood , Mark Brown , Jean Delvare , Jonathan Cameron , Dmitry Torokhov Cc: Jonathan Corbet , Support Opensource , Cosmin Tanislav , Lars-Peter Clausen , Michael Hennerich , Antoniu Miclaus , Greg Kroah-Hartman , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org, linux-iio@vger.kernel.org, linux-staging@lists.linux.dev, linux-input@vger.kernel.org, Jonathan Cameron References: <20240429-regulator-get-enable-get-votlage-v2-0-b1f11ab766c1@baylibre.com> <20240429-regulator-get-enable-get-votlage-v2-3-b1f11ab766c1@baylibre.com> Content-Language: en-US From: Guenter Roeck Autocrypt: addr=linux@roeck-us.net; keydata= xsFNBE6H1WcBEACu6jIcw5kZ5dGeJ7E7B2uweQR/4FGxH10/H1O1+ApmcQ9i87XdZQiB9cpN RYHA7RCEK2dh6dDccykQk3bC90xXMPg+O3R+C/SkwcnUak1UZaeK/SwQbq/t0tkMzYDRxfJ7 nyFiKxUehbNF3r9qlJgPqONwX5vJy4/GvDHdddSCxV41P/ejsZ8PykxyJs98UWhF54tGRWFl 7i1xvaDB9lN5WTLRKSO7wICuLiSz5WZHXMkyF4d+/O5ll7yz/o/JxK5vO/sduYDIlFTvBZDh gzaEtNf5tQjsjG4io8E0Yq0ViobLkS2RTNZT8ICq/Jmvl0SpbHRvYwa2DhNsK0YjHFQBB0FX IdhdUEzNefcNcYvqigJpdICoP2e4yJSyflHFO4dr0OrdnGLe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/k+pZXE+B4Ud42hwmMr0TfhNxG+X7YKvjKC+SjPjqp0CaztQ0H nsDLSLElVROxCd9m8CAUuHplgmR3seYCOrT4jriMFBtKNPtj2EE4DNV4s7k0Zy+6iRQ8G8ng QjsSqYJx8iAR8JRB7Gm2rQOMv8lSRdjva++GT0VLXtHULdlzg8VjDnFZ3lfz5PWEOeIMk7Rj trjv82EZtrhLuLjHRCaG50OOm0hwPSk1J64R8O3HjSLdertmw7eyAYOo4RuWJguYMg5DRnBk WkRwrSuCn7UG+qVWZeKEsFKFOkynOs3pVbcbq1pxbhk3TRWCGRU5JolI4ohy/7JV1TVbjiDI HP/aVnm6NC8of26P40Pg8EdAhajZnHHjA7FrJXsy3cyIGqvg9os4rNkUWmrCfLLsZDHD8FnU mDW4+i+XlNFUPUYMrIKi9joBhu18ssf5i5Q= In-Reply-To: <20240429-regulator-get-enable-get-votlage-v2-3-b1f11ab766c1@baylibre.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 4/29/24 16:40, David Lechner wrote: > We can reduce boilerplate code by using > devm_regulator_get_enable_read_voltage(). > > Reviewed-by: Jonathan Cameron > Signed-off-by: David Lechner Acked-by: Guenter Roeck