[v2,resend/trivial] drm/bridge: ti-tfp410: Update drm_connector_init_with_ddc() error message
diff mbox series

Message ID 20200115125653.5519-1-geert+renesas@glider.be
State New
Headers show
Series
  • [v2,resend/trivial] drm/bridge: ti-tfp410: Update drm_connector_init_with_ddc() error message
Related show

Commit Message

Geert Uytterhoeven Jan. 15, 2020, 12:56 p.m. UTC
The code was changed to call drm_connector_init_with_ddc() instead of
drm_connector_init(), but the corresponding error message was not
updated.

Fixes: cfb444552926989f ("drm/bridge: ti-tfp410: Provide ddc symlink in connector sysfs directory")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
---
v2:
  - Add Reviewed-by.
---
 drivers/gpu/drm/bridge/ti-tfp410.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Neil Armstrong Feb. 10, 2020, 9:20 a.m. UTC | #1
On 15/01/2020 13:56, Geert Uytterhoeven wrote:
> The code was changed to call drm_connector_init_with_ddc() instead of
> drm_connector_init(), but the corresponding error message was not
> updated.
> 
> Fixes: cfb444552926989f ("drm/bridge: ti-tfp410: Provide ddc symlink in connector sysfs directory")
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
> Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
> ---
> v2:
>   - Add Reviewed-by.
> ---
>  drivers/gpu/drm/bridge/ti-tfp410.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/bridge/ti-tfp410.c b/drivers/gpu/drm/bridge/ti-tfp410.c
> index 6f6d6d1e60ae9162..f195a4732e0badac 100644
> --- a/drivers/gpu/drm/bridge/ti-tfp410.c
> +++ b/drivers/gpu/drm/bridge/ti-tfp410.c
> @@ -140,7 +140,8 @@ static int tfp410_attach(struct drm_bridge *bridge)
>  					  dvi->connector_type,
>  					  dvi->ddc);
>  	if (ret) {
> -		dev_err(dvi->dev, "drm_connector_init() failed: %d\n", ret);
> +		dev_err(dvi->dev, "drm_connector_init_with_ddc() failed: %d\n",
> +			ret);
>  		return ret;
>  	}
>  
> 

Applied to drm-misc-fixes

Patch
diff mbox series

diff --git a/drivers/gpu/drm/bridge/ti-tfp410.c b/drivers/gpu/drm/bridge/ti-tfp410.c
index 6f6d6d1e60ae9162..f195a4732e0badac 100644
--- a/drivers/gpu/drm/bridge/ti-tfp410.c
+++ b/drivers/gpu/drm/bridge/ti-tfp410.c
@@ -140,7 +140,8 @@  static int tfp410_attach(struct drm_bridge *bridge)
 					  dvi->connector_type,
 					  dvi->ddc);
 	if (ret) {
-		dev_err(dvi->dev, "drm_connector_init() failed: %d\n", ret);
+		dev_err(dvi->dev, "drm_connector_init_with_ddc() failed: %d\n",
+			ret);
 		return ret;
 	}