Skip to content

Commit 4ce2c7e

Browse files
johnkeepingLinus Walleij
authored andcommitted
drm/panel: ilitek-ili9882t: fix GPIO name in error message
This driver uses the enable-gpios property and it is confusing that the error message refers to reset-gpios. Use the correct name when the enable GPIO is not found. Fixes: e2450d3 ("drm/panel: ili9882t: Break out as separate driver") Signed-off-by: John Keeping <jkeeping@inmusicbrands.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Link: https://patchwork.freedesktop.org/patch/msgid/20250217120428.3779197-1-jkeeping@inmusicbrands.com
1 parent ddd147d commit 4ce2c7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/panel/panel-ilitek-ili9882t.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ static int ili9882t_add(struct ili9882t *ili)
607607

608608
ili->enable_gpio = devm_gpiod_get(dev, "enable", GPIOD_OUT_LOW);
609609
if (IS_ERR(ili->enable_gpio)) {
610-
dev_err(dev, "cannot get reset-gpios %ld\n",
610+
dev_err(dev, "cannot get enable-gpios %ld\n",
611611
PTR_ERR(ili->enable_gpio));
612612
return PTR_ERR(ili->enable_gpio);
613613
}

0 commit comments

Comments
 (0)