From nobody Tue Feb 10 13:01:44 2026 Received: from mail-ej1-f51.google.com (mail-ej1-f51.google.com [209.85.218.51]) (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 A1BEC45BD77 for ; Thu, 22 Jan 2026 15:43:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769096648; cv=none; b=dtnJzXEV0kBh9ahi0NaGAG5ZrrMGST90enE6b3WIbOOtL95niw6g2AvXvw+e85OnWFFluucbiTZFUmBR2Ru5489QygCqN8yJ6vI2EqRVt7QSWf9ccKO7u78n5+tvXLG/VJtOUDOObA8LOA+Ip+VWENuU3qzF/pWWsGvZPXQ9KX4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769096648; c=relaxed/simple; bh=fvS/dFCro9ZHFc5w+Z6ZcYVzHaBeI4A1V0hAZLvZGMw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=i8qeLhApMDQ/ayPp8i6Emm0sR//CufDoCBhET1CLgk47uc715rxaweWhQW+HEqvsQbVOQs97p5N8u/SPXIsadTY5ipxCG67e6Kn90Tsj7LiqGxFx//3N8Tm/BK9F73hc9iqZgVtmFFx1+aQl+m/3rV72d8BMADSloy4BDKNjZ/4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=q6eXGSeC; arc=none smtp.client-ip=209.85.218.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="q6eXGSeC" Received: by mail-ej1-f51.google.com with SMTP id a640c23a62f3a-b8845cb580bso108756866b.3 for ; Thu, 22 Jan 2026 07:43:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1769096629; x=1769701429; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=YHOuCyW6EXubWNPSSTKgH38OWUudqlrjbcjJqHW6R9g=; b=q6eXGSeC6xQtTszI24s4UCfblfJr1UGkDEM5OfhYx2iKEskE6fHH5JaSKdz1Q+je47 1UuyErgGIpPxrpvXA1SaklTDNGGtlpUBR2+kVyOxA7KHEcZznyELDQ7apQP04cSqM14n IJORFrwl+bqg0OPkX8IpCDBPCYK17DmZjxCyPIrORiL5IsMv/chmydL9xWmxCLQ4Tetm //DIVXiJNVz6BoxiHM4yYUovkTUddK1jB9EhfwJNtAfAjYC+4060egsScebCh6y3qmwO F6YiNOIoYCVngPxLz/zCqPbNSokUC7DCa2nKJ4Ke3eYM7mFePbrMK1L1cTpPZz9KP3Yu YYBQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769096629; x=1769701429; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=YHOuCyW6EXubWNPSSTKgH38OWUudqlrjbcjJqHW6R9g=; b=IzbWewa1MEbqdS5GpNqu9l7g3SmB91PlIEipRxDcGR57X/AY/yVkJUfzESJGGyplTc 3eZGcAZZ//ODhMKuKP+SBcejWWGWgxlLH/TxOShIQqggvQboygoaRkHH/mLyz2lLPsmR 7WoWYyhg3pJpoTTdrx5u6F+50PVIhMQon1PF+mDD9Rh0EYmQ1qZVP2b9kwE85mFJW1FM 817uc2nUfzuavQF8TQv7S98iZKZ++2sFZNEqveh3l5LnrxRsDboVjFvh9+zXNLGvBnxn 6pfjOY8tQ/RLzrpEv4okRQH6ifb2nbfDnnMWUcAteTLgEX8qxfojDWe81iEb3N1rLj7o nFHw== X-Forwarded-Encrypted: i=1; AJvYcCVOF5nsgi2swk7xf1xV3eaf27wTpvCXlBQD+GfagwTAufQC3Xo/3U3DKBHBthnlP2hyKQHzFJaRs9xQOh8=@vger.kernel.org X-Gm-Message-State: AOJu0Yx2z/ANc99fH2f3ovD0yKd/1vEX33EfdTDyfxeHeOfX1PrKuNGb xf5ao3zOjfXlNV2FNQYlpcnsSdH0Mf90G7LsV0kTvUUATkfJ3g26xeDUTO3Ma7fi6mQ= X-Gm-Gg: AZuq6aIVcTs05BW5pX9+6U30TwnVXnZNlGaMQ1ciC7kxhTTLDfEVsG5/zEaXut7AmJq z1O3o9apsO3bMm642kjIKxOEjISEMvnM7fSZQTuJHndsKEbpgCvxFmLI96aLAsSw2h1VUDyqUR5 jrkB0p0uQHX8U013BuNfJ/YKj3LKJywKqR4Z14WUBXKvlwG4bXz8CcMjAaWOqtd3smRfT6UzdJ5 sJ3mNO0D7idtxb2bOK1BkF6CW3Cw844oq11u840EHz9LGUI925sPzrVRviHC688l9Wew6CCb/Ji gWJBfWe9XmmnZGVZXYdFly62svslR8XJqTNU0YFCLf/4W7M7gjj/oUoUVS16e4aNoX+pgDXf4gZ pMhzpE/mACxoQEoKQn5Q9V6ZmlMrwis7xg3JOeFpLWsp6jDigAA58BqwkE6mF/90i8dZj2vZvyo pqCi0CZ7Chs7ukHJABql8rQFhD/VTD5VoYu+QqIp3fHv32jCCJgbUBImgTHqf2dGb2BWiVbZNtJ fKDyQ== X-Received: by 2002:a17:907:7ba8:b0:b87:6ce:1267 with SMTP id a640c23a62f3a-b8796bf624amr1670208066b.64.1769096628967; Thu, 22 Jan 2026 07:43:48 -0800 (PST) Received: from puffmais2.c.googlers.com (244.175.141.34.bc.googleusercontent.com. [34.141.175.244]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-654535c49f4sm16334363a12.31.2026.01.22.07.43.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Jan 2026 07:43:48 -0800 (PST) From: =?utf-8?q?Andr=C3=A9_Draszik?= Date: Thu, 22 Jan 2026 15:43:47 +0000 Subject: [PATCH v7 20/20] regulator: s2mps11: more descriptive gpio consumer name 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 Message-Id: <20260122-s2mpg1x-regulators-v7-20-3b1f9831fffd@linaro.org> References: <20260122-s2mpg1x-regulators-v7-0-3b1f9831fffd@linaro.org> In-Reply-To: <20260122-s2mpg1x-regulators-v7-0-3b1f9831fffd@linaro.org> To: Tudor Ambarus , Rob Herring , Conor Dooley , Krzysztof Kozlowski , Liam Girdwood , Mark Brown , Lee Jones , Linus Walleij , Bartosz Golaszewski , Krzysztof Kozlowski , Linus Walleij , Bartosz Golaszewski Cc: Peter Griffin , Will McVicker , Juan Yescas , kernel-team@android.com, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, =?utf-8?q?Andr=C3=A9_Draszik?= , Bartosz Golaszewski X-Mailer: b4 0.14.2 Currently, GPIOs claimed by this driver for external rail control all show up with "s2mps11-regulator" as consumer, which is not very informative. Switch to using the regulator name via desc->name instead, using the device name as fallback. Reviewed-by: Bartosz Golaszewski Signed-off-by: Andr=C3=A9 Draszik --- drivers/regulator/s2mps11.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/regulator/s2mps11.c b/drivers/regulator/s2mps11.c index 4a9d70947f17cb7520e0e820d3d1b9eb370ff600..2d5510acd0780ab6f9296c48ddc= de5efe15ff488 100644 --- a/drivers/regulator/s2mps11.c +++ b/drivers/regulator/s2mps11.c @@ -362,7 +362,8 @@ static int s2mps11_of_parse_gpiod(struct device_node *n= p, ena_gpiod =3D fwnode_gpiod_get_index(of_fwnode_handle(np), con_id, 0, GPIOD_OUT_HIGH | GPIOD_FLAGS_BIT_NONEXCLUSIVE, - "s2mps11-regulator"); + desc->name + ? : dev_name(config->dev)); if (IS_ERR(ena_gpiod)) { ret =3D PTR_ERR(ena_gpiod); =20 --=20 2.52.0.457.g6b5491de43-goog