[PATCH] clk: clk-gpio: do not blame the DT property on probe deferral

From: Francesco Dolcini

Date: Wed Sep 30 2026 - 07:56:19 EST


From: Francesco Dolcini <francesco.dolcini@xxxxxxxxxxx>

The message is also stored as the probe deferral reason, where it wrongly
claims the 'enable'/'select' property is missing while it is the GPIO
provider that has not probed (yet?).

Signed-off-by: Francesco Dolcini <francesco.dolcini@xxxxxxxxxxx>
---
drivers/clk/clk-gpio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/clk-gpio.c b/drivers/clk/clk-gpio.c
index 9099c57e2715..918b2c6444ee 100644
--- a/drivers/clk/clk-gpio.c
+++ b/drivers/clk/clk-gpio.c
@@ -214,7 +214,7 @@ static int gpio_clk_driver_probe(struct platform_device *pdev)
gpiod = devm_gpiod_get(dev, gpio_name, GPIOD_OUT_LOW);
if (IS_ERR(gpiod))
return dev_err_probe(dev, PTR_ERR(gpiod),
- "Can't get '%s' named GPIO property\n", gpio_name);
+ "Can't get '%s' GPIO\n", gpio_name);

if (is_mux)
hw = clk_hw_register_gpio_mux(dev, gpiod);
--
2.47.3