Received: by 2002:a05:7208:3188:b0:7e:5202:c8b4 with SMTP id r8csp949994rbd; Fri, 23 Feb 2024 08:24:37 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUGTQPQEGTOqLfYFL/fpOBGrFM1MstbHQgZkP1KAnCRzDaBdMo7WGYNGfIceF03L5yiPQ5pawQb7YsFoLxYyaGogc40mgwcj1mowKHlXQ== X-Google-Smtp-Source: AGHT+IEWhlLIwzGovHsCEBipMxiFJgDsSJw+zdG3QHnOVUd7g9maqlZLZegV2d2NAZFn2j6JUyyp X-Received: by 2002:a05:6e02:214d:b0:363:e3d1:2bc8 with SMTP id d13-20020a056e02214d00b00363e3d12bc8mr437978ilv.6.1708705477359; Fri, 23 Feb 2024 08:24:37 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708705477; cv=pass; d=google.com; s=arc-20160816; b=xArf23IOO4mSd5U73Ksjw6QNc1G9UgIdRCZYJ9H5YPYZ20Q+tkxTKPvWrdwNqyoZYn nh1szzhQJBtMeGrQc/ke4WqODjdSsdGheyhcTKuhlchwPlBCERsZpA8cMUkSFhY0n3IX uVXrlgWJtRBth+xK66lL/oYqdATX+soS5lxGehTgMRVHxzR0k6/JFjCrlppzWRwQClYk 22SE1+M1zKa+/aJEpHtVlpBpzYuoJ1P/XQVcCLBaIIowlICU2vTHk9yWlpUhKysHLeHy T3m5/NFkVvVwvqQx8BVUHG9bV4QAtRInyISto+LCz6prOkF9ui240SlnNmxx89nUEQiz 0+wA== 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=l+poEIVTFSXXXnFaKU8suC6uB1RyBy/fhuToia+On5Y=; fh=x7BZgx5LKkWFLAFoe9p/O54YK0XTo1QETE/K7fPNxJ0=; b=xnPrmhOPunqkLwl/Gba0zc1Sbczd7sj+ZrL6DZohbj8zB7qzK7dkQDVcFk6foucsFF pPOqrAsbC+wik+JA0AHeGUx5taGEFKgtnonr7Jm6XA3CrhxsDa57NX549ZI839ZcqAoh 64JOYw1b7eTtyMERfRA031CIJ85gD3lFhtRRy1P/BTYUf6+XMMWGuMbeww+NhpedlDZd jnJN5BCCe0/BbZFXz/gOn5cOMUsuqY6brf2FALdDKS0pmM46m9B8Mf3etd+m/xmK0ovm TLLfDvxlBukb5sYvZf67+zHh8yX+o24HEqyBDe9U+JLo38xrFXVCAVDFnCfbpKqaho7U 0B1Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sqd0oMWq; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-78718-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78718-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id m127-20020a633f85000000b005d8b8c6f94csi12425030pga.565.2024.02.23.08.24.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Feb 2024 08:24:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-78718-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sqd0oMWq; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-78718-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-78718-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 117162843AF for ; Fri, 23 Feb 2024 16:24:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 484ADDDBB; Fri, 23 Feb 2024 16:21:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="sqd0oMWq" 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 6E55F12E1FC; Fri, 23 Feb 2024 16:21:53 +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=1708705313; cv=none; b=dUmSKX0qQOYQJdSDTk6lv2UVLlqKLRLqQBPPdHXhr1aol2vIoocHL4pvM9lEK6z0d/GZP5osnqzS9PdwMkdWUnIscREQWHrpNT++PoujOqZdWfF7dG+4vxgZVJ0TrVrKKsb8I3udWKHAG3WN4Mj5Xa/jI2uHj5ZU1KGllt7m4OM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708705313; c=relaxed/simple; bh=WU89fYlzkV7iq1/qt/r+d2wUO9ZbalxxnTbNqYn/EhY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=GM4uiRDSdoj67MQ/eYjT6YelBOaHbpagTqjv49w66OKPomMsurVqXknLYJjYjFD1VJSBILOmk2asbb6GjCl+QiD/yPsKNqMZw4Hrf3kAb31t290uLluLzRAOazZ9/L4GyWPEbdH1Axs5KVNkS1nk+Ibm6+78kKda+DovnphS14M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=sqd0oMWq; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1538EC43394; Fri, 23 Feb 2024 16:21:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708705313; bh=WU89fYlzkV7iq1/qt/r+d2wUO9ZbalxxnTbNqYn/EhY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sqd0oMWqLS9+bUOV6/JV82J9rY81dxFPJAyjU99xQkWWqoXpQsErsWkJsFHY4d896 DXFzv4CVVIppsCbdCKmU0wXHlcL+E3NqNEcuX+UTrrcEuQ7pSIziUD8wjNn02Q4QHs IQCg9jELJkmrATcWATFuHzeASjw+txxvuufNHcdvcwwUB72N7MVIzb9MfQGTagNZTu MlEM6qIMiQI3N2bl9o2ocy7y29UIop+mf+6yfGTPkMdGoWyqIbWESHxAAJN3zNyywp zFpMgq7+sKQADO5+rRHrqYWvEEyEHjssi0D8RsoJsmJwuJ2ytexvl926KND3gJ9DSC ElUADPdKC/tHA== From: Conor Dooley To: linux@roeck-us.net Cc: conor@kernel.org, Conor Dooley , Jean Delvare , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Liam Girdwood , Mark Brown , Zev Weiss , Patrick Rudolph , Peter Yin , Alexander Stein , linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Naresh Solanki Subject: [PATCH v2 5/5] hwmon: (pmbus/ir38064) Use PMBUS_REGULATOR_ONE to declare regulator Date: Fri, 23 Feb 2024 16:21:09 +0000 Message-ID: <20240223-harmless-covenant-9cd3d4f1cfd2@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: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=959; i=conor.dooley@microchip.com; h=from:subject:message-id; bh=b9OMUzVMqRny91Z1AmDs/nQDPPMoHnmOADsngDqzbtU=; b=owGbwMvMwCFWscWwfUFT0iXG02pJDKk3jv44r/LpbqP0kaSVBQfDZ2lUVPkIT7BblRLP3nCuS eOgdLd2RykLgxgHg6yYIkvi7b4WqfV/XHY497yFmcPKBDKEgYtTACZyu5Dhf+Dxv3/v1lhWaBea 1AS6vrZ9eL3p76cnJ/It53at0JxZk87wT+GosxvnIu7w9yuW+p+akTCjYFEWx/1W6TWTNsze5Bx gzQQA X-Developer-Key: i=conor.dooley@microchip.com; a=openpgp; fpr=F9ECA03CF54F12CD01F1655722E2C55B37CF380C Content-Transfer-Encoding: 8bit From: Guenter Roeck 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 Cc: Naresh Solanki Cc: Patrick Rudolph Signed-off-by: Guenter Roeck Signed-off-by: Conor Dooley --- drivers/hwmon/pmbus/ir38064.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hwmon/pmbus/ir38064.c b/drivers/hwmon/pmbus/ir38064.c index 04185be3fdb6..69e18cb468f6 100644 --- a/drivers/hwmon/pmbus/ir38064.c +++ b/drivers/hwmon/pmbus/ir38064.c @@ -22,7 +22,7 @@ #if IS_ENABLED(CONFIG_SENSORS_IR38064_REGULATOR) static const struct regulator_desc ir38064_reg_desc[] = { - PMBUS_REGULATOR("vout", 0), + PMBUS_REGULATOR_ONE("vout"), }; #endif /* CONFIG_SENSORS_IR38064_REGULATOR */ -- 2.43.0