All of lore.kernel.org
 help / color / mirror / Atom feed
From: Inki Dae <inki.dae@samsung.com>
To: dri-devel@lists.freedesktop.org
Cc: daniel.vetter@intel.com
Subject: [PATCH 03/14] drm/bridge: analogix-anx78xx: clean up drm_bridge_add call
Date: Mon, 03 Jul 2017 17:42:19 +0900	[thread overview]
Message-ID: <1499071350-25168-4-git-send-email-inki.dae@samsung.com> (raw)
In-Reply-To: <1499071350-25168-1-git-send-email-inki.dae@samsung.com>

This patch removes unnecessary checking of return value.

Signed-off-by: Inki Dae <inki.dae@samsung.com>
---
 drivers/gpu/drm/bridge/analogix-anx78xx.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/drivers/gpu/drm/bridge/analogix-anx78xx.c b/drivers/gpu/drm/bridge/analogix-anx78xx.c
index 9006578..c2fac39 100644
--- a/drivers/gpu/drm/bridge/analogix-anx78xx.c
+++ b/drivers/gpu/drm/bridge/analogix-anx78xx.c
@@ -1438,11 +1438,7 @@ static int anx78xx_i2c_probe(struct i2c_client *client,
 
 	anx78xx->bridge.funcs = &anx78xx_bridge_funcs;
 
-	err = drm_bridge_add(&anx78xx->bridge);
-	if (err < 0) {
-		DRM_ERROR("Failed to add drm bridge: %d\n", err);
-		goto err_poweroff;
-	}
+	drm_bridge_add(&anx78xx->bridge);
 
 	/* If cable is pulled out, just poweroff and wait for HPD event */
 	if (!gpiod_get_value(anx78xx->pdata.gpiod_hpd))
-- 
1.9.1

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

  parent reply	other threads:[~2017-07-03  8:42 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20170703084232epcas1p4edf515b3b0f22e11ef85eaedccebf956@epcas1p4.samsung.com>
2017-07-03  8:42 ` [PATCH 00/14] clean up drm_bridge_add Inki Dae
     [not found]   ` <CGME20170703084232epcas1p4005cd89166662ca59863c24238d617f8@epcas1p4.samsung.com>
2017-07-03  8:42     ` [PATCH 01/14] drm/bridge: change return type of drm_bridge_add function Inki Dae
2017-07-03  9:56       ` Emil Velikov
     [not found]   ` <CGME20170703084232epcas1p442bb65ff24d02d3eba39fc4755ed448c@epcas1p4.samsung.com>
2017-07-03  8:42     ` [PATCH 02/14] drm/bridge: adv7511: clean up drm_bridge_add call Inki Dae
     [not found]   ` <CGME20170703084232epcas1p4b0b9b7e03aef4d024c33cbc592434b54@epcas1p4.samsung.com>
2017-07-03  8:42     ` Inki Dae [this message]
     [not found]   ` <CGME20170703084232epcas1p45bcdd67d70e604f72e1519f39018bf91@epcas1p4.samsung.com>
2017-07-03  8:42     ` [PATCH 04/14] drm/bridge: vga-dac: " Inki Dae
     [not found]   ` <CGME20170703084232epcas1p4f7be46256e775298129c0097844058e4@epcas1p4.samsung.com>
2017-07-03  8:42     ` [PATCH 05/14] drm/bridge: nxp-ptn3460: " Inki Dae
     [not found]   ` <CGME20170703084232epcas5p17a81e626afad21d0e62bb09531bd4163@epcas5p1.samsung.com>
2017-07-03  8:42     ` [PATCH 06/14] drm/bridge: panel: " Inki Dae
     [not found]   ` <CGME20170703084232epcas5p10533a8a34ffa39dd126098ed08383df9@epcas5p1.samsung.com>
2017-07-03  8:42     ` [PATCH 07/14] drm/bridge: ps8622: " Inki Dae
     [not found]   ` <CGME20170703084233epcas5p107a9e0c549dbbfe6608fb5748d740575@epcas5p1.samsung.com>
2017-07-03  8:42     ` [PATCH 08/14] drm/bridge: sii902x: " Inki Dae
     [not found]   ` <CGME20170703084233epcas5p1937d7b7f6e04d6c69efadd9149d5caed@epcas5p1.samsung.com>
2017-07-03  8:42     ` [PATCH 09/14] drm/bridge: synopsys: dw-hdmi: " Inki Dae
     [not found]   ` <CGME20170703084233epcas1p4d30db0ba6db68ec5b697dd9939f45ae1@epcas1p4.samsung.com>
2017-07-03  8:42     ` [PATCH 10/14] drm/bridge: tc358767: " Inki Dae
     [not found]   ` <CGME20170703084233epcas5p19dc746895c958002918b127536a7e1f9@epcas5p1.samsung.com>
2017-07-03  8:42     ` [PATCH 11/14] drm/bridge: ti-tfp410: " Inki Dae
     [not found]   ` <CGME20170703084233epcas5p1077313e0d3a7c1fb7d8b2a3c23b19275@epcas5p1.samsung.com>
2017-07-03  8:42     ` [PATCH 12/14] drm/exynos: mic: " Inki Dae
2017-07-05  9:00       ` Archit Taneja
2017-07-05  9:05         ` Inki Dae
2017-07-05  9:14           ` Archit Taneja
2017-07-05 11:12             ` Emil Velikov
2017-07-06  7:59               ` Archit Taneja
2017-08-18  8:04               ` Inki Dae
2017-08-18  8:03             ` Inki Dae
2017-08-18  8:01       ` Inki Dae
     [not found]   ` <CGME20170703084233epcas5p1dbabf330e10fc4f88c420789499d2a36@epcas5p1.samsung.com>
2017-07-03  8:42     ` [PATCH 13/14] drm/mediatek: hdmi: " Inki Dae
2017-07-05  9:01       ` Archit Taneja
2017-08-18  8:54         ` Daniel Vetter
2017-08-18 13:03           ` CK Hu
     [not found]   ` <CGME20170703084234epcas5p1095418cf48287cc318db72b628d5cb28@epcas5p1.samsung.com>
2017-07-03  8:42     ` [PATCH 14/14] drm/sti: sti_vdo: " Inki Dae
2017-08-18 15:15       ` Sean Paul
2017-07-06  8:58   ` [PATCH 00/14] clean up drm_bridge_add Archit Taneja
2017-08-22  5:14     ` Inki Dae
2017-08-07 22:55   ` Inki Dae
2017-08-08  3:21     ` Archit Taneja
2017-08-22  5:07       ` Archit Taneja
2017-08-18  7:42     ` Inki Dae

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1499071350-25168-4-git-send-email-inki.dae@samsung.com \
    --to=inki.dae@samsung.com \
    --cc=daniel.vetter@intel.com \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.