Message ID | 20240223-catnap-companion-c42fdd8ad110@spud |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-78716-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp692332dyb; Fri, 23 Feb 2024 08:24:14 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCU5KzWOUEesVZOR7SFtR2XOI9WSuVr16Hl4txSoaW28VTqLA/AiwITYzqS7XNh6MdetZxfa1MlebP7/aMyg9JmdhAhBaw== X-Google-Smtp-Source: AGHT+IEHlhTrQCqzY1ahqiGuJcbmqJKVh6Kysl6CndVGVY4a5r4QTkbq8xE+Qg+DxdVta5a8VV/t X-Received: by 2002:a17:906:6cb:b0:a3e:45c6:9f9d with SMTP id v11-20020a17090606cb00b00a3e45c69f9dmr197659ejb.6.1708705454245; Fri, 23 Feb 2024 08:24:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708705454; cv=pass; d=google.com; s=arc-20160816; b=tmL99z/wXw6xeYinDVyeIhKr6LyBnwiKvS5dig1fnDJMZUyNzj268Yu/L9m9HIKf4G RgaekTXU12dT13OdHUefd2Aef3cu6rR/TKR+Jkxums5dS9ai0mlrBhYwW/jELulYnpTA MpuVbj4jD2MTerCnP7MK8johKRfFC+5WxOV0rwcopnzK1nC/ptAM768uDoRJ/UjyAf2p r4TrVfeuoSshrlPayQ04Fank5O6n7kn9szJqDRN4M5RFqzQbUJDbsRwr7rbRebIdcHeS 98SopnaXkC1wams5nYdmuSLp2jzwIW6VChC5x2j/NI8J60MHr0YmvcZqRbTQ5G466fKi 8LCw== 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 :date:subject:cc:to:from:dkim-signature; bh=2sfy43RC9DSZ/YVGJtLndC1rVoZDDQ7IWLB8myJoMUs=; fh=x7BZgx5LKkWFLAFoe9p/O54YK0XTo1QETE/K7fPNxJ0=; b=KJuj5DuKQrTlsql78n+T3bZ9ZsgqcwbeGtIRgf0s/uwZZVPcRc04nzu7dYKCy7kniF gv9hMeuClQqi/fBQhZC0tnVFTEHcBV6hSA+1lV6mR3hMwPOSCPuDTt/Zj8Aj7yq23pRL lj3SuxOFq8lSxt9UPVokRo/Ipa9lSBC7Ld7lw5lPN9I2uRGDWph72D2rqZcd5P5ISyKL jnp65lJTZAYnBwFQByjQMsyOWRMW028/VzsOsnIeAezz/AH2LCc/giWaWwwzrHuOI+EV UBzZQr8wRThY4YTJLUdDyueGcBUU6X90KvdHG1G9HJamSlC+tMUq22xv6TM+1NRuV9sO c4Ug==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nEGjQbLT; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-78716-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78716-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id kv8-20020a17090778c800b00a3fb14ee844si902885ejc.682.2024.02.23.08.24.14 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 08:24:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78716-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nEGjQbLT; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-78716-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78716-ouuuleilei=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 am.mirrors.kernel.org (Postfix) with ESMTPS id D3F741F232DA for <ouuuleilei@gmail.com>; Fri, 23 Feb 2024 16:24:13 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2A5A3130E33; Fri, 23 Feb 2024 16:21:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="nEGjQbLT" 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 8D2F612E1FC; Fri, 23 Feb 2024 16:21:46 +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=1708705306; cv=none; b=BMx5jWSx1sq/gHyEyCQ9joUeX2CkunDlJVyIzgxA5575C7DVKMk3ne7+JRbHj2Oy7HYXEY4IpjzBTrkT7LuBT/1jSpbaRA4fXuZ1dMfsgEZXuxZJ+ZisHpy0BAb3TJN70NOjfoaAv56RNPmntbrJPFIkgdc02+Nas4hgiLSqiVU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708705306; c=relaxed/simple; bh=xpFapP+t1GY5qR3wsOV3Nl7p1ssqEBrzSJNPZBMtc1s=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=cFI/fH2J9L6lrHvDw4evAMNEStBs44EjjdJi5yEbVnVozLJWzzF0h6qIglo28+V4ozpLnnS0QP599ENMczuOr3XDGgkO+SWQn0tIGYOFqkHSgmAPb+Jp7rN+62V5UFLPIHQLgLE8YJFXqSsJTIgFrVCbZbqcHX0voChg2qj752w= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=nEGjQbLT; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B5718C433C7; Fri, 23 Feb 2024 16:21:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708705306; bh=xpFapP+t1GY5qR3wsOV3Nl7p1ssqEBrzSJNPZBMtc1s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nEGjQbLTNrvj5xvemmvu7cU++u5DUAhThDVhFtJAbvNhZh52GS0dWxyDGbNRWF87n HUEZZ0CYQelFRrFeco9tC0pUYsbfvHrGeINupOZ4RbLwjB64cafgQK80qN2WNFRiy+ LtjVnEKE08bclZyqYV7k/tE/myoP8NSF+grve0Chg0R99hyUUO+U56UQcD06eOVKeP oD9XQ4jpIrzi/VwbkEiGpJ/zCAarWralV7pF9zv8pnmG9wj7zpt9RMx+3s1vt2OOHr DjAB5xcgFcZIQ3BtK0QCN5/YZzIDwmRphV+zNXl0t+z44W1t58QtHDnHMyQipchf2q WWWXnG41ER2rw== From: Conor Dooley <conor@kernel.org> To: linux@roeck-us.net Cc: conor@kernel.org, Conor Dooley <conor.dooley@microchip.com>, Jean Delvare <jdelvare@suse.com>, Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>, Zev Weiss <zev@bewilderbeest.net>, Patrick Rudolph <patrick.rudolph@9elements.com>, Peter Yin <peteryin.openbmc@gmail.com>, Alexander Stein <alexander.stein@ew.tq-group.com>, linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Naresh Solanki <naresh.solanki@9elements.com> Subject: [PATCH v2 3/5] hwmon: (pmbus/tda38640) Use PMBUS_REGULATOR_ONE to declare regulator Date: Fri, 23 Feb 2024 16:21:07 +0000 Message-ID: <20240223-catnap-companion-c42fdd8ad110@spud> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240223-moonrise-feminist-de59b9e1b3ba@spud> References: <20240223-moonrise-feminist-de59b9e1b3ba@spud> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=927; i=conor.dooley@microchip.com; h=from:subject:message-id; bh=1ZtfL4H/Opueo+tkLhUryZdEDy0uFp+4wOJDc4cuTnE=; b=owGbwMvMwCFWscWwfUFT0iXG02pJDKk3jv6QmRr4IpfD1GNPlhl7Sechbpbey7VHl657v/pEP esyjUWNHaUsDGIcDLJiiiyJt/tapNb/cdnh3PMWZg4rE8gQBi5OAZjI0XqG//6vT5qbeOaEFHX0 H2d9cPjxYteDcba/Gi7dfzh33x7HgAqG/z77DgnPX/j+RRTXP/VFv3h7ui5nr7+8Nmb9S2ET/qv +h9kB X-Developer-Key: i=conor.dooley@microchip.com; a=openpgp; fpr=F9ECA03CF54F12CD01F1655722E2C55B37CF380C Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791707530445824960 X-GMAIL-MSGID: 1791707530445824960 |
Series |
PMBUS Regulator cleanups
|
|
Commit Message
Conor Dooley
Feb. 23, 2024, 4:21 p.m. UTC
From: Guenter Roeck <linux@roeck-us.net> If a chip only provides a single regulator, it should be named 'vout' and not 'vout0'. Declare regulator using PMBUS_REGULATOR_ONE() to make that happen. Cc: Conor Dooley <conor@kernel.org> Cc: Naresh Solanki <naresh.solanki@9elements.com> Cc: Patrick Rudolph <patrick.rudolph@9elements.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Conor Dooley <conor.dooley@microchip.com> --- drivers/hwmon/pmbus/tda38640.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/hwmon/pmbus/tda38640.c b/drivers/hwmon/pmbus/tda38640.c index 09cd114b1736..c31889a036f0 100644 --- a/drivers/hwmon/pmbus/tda38640.c +++ b/drivers/hwmon/pmbus/tda38640.c @@ -15,7 +15,7 @@ #include "pmbus.h" static const struct regulator_desc __maybe_unused tda38640_reg_desc[] = { - PMBUS_REGULATOR("vout", 0), + PMBUS_REGULATOR_ONE("vout"), }; struct tda38640_data {