]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
regulator: s2mps11: more descriptive gpio consumer name
authorAndré Draszik <andre.draszik@linaro.org>
Thu, 22 Jan 2026 15:43:47 +0000 (15:43 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 4 Feb 2026 13:35:41 +0000 (13:35 +0000)
commitfe8429a2717fc01082502b0adf680a50b230eff7
tree86595fef28b4d8670c833d90ac10f01d961073c9
parent979dd8da76eb98b212f4e8cafc3c4019cfa3d93d
regulator: s2mps11: more descriptive gpio consumer name

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 <bartosz.golaszewski@oss.qualcomm.com>
Signed-off-by: André Draszik <andre.draszik@linaro.org>
Link: https://patch.msgid.link/20260122-s2mpg1x-regulators-v7-20-3b1f9831fffd@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/s2mps11.c