diff options
author | Inki Dae <inki.dae@samsung.com> | 2017-07-03 10:42:23 +0200 |
---|---|---|
committer | Archit Taneja <architt@codeaurora.org> | 2017-07-06 10:46:27 +0200 |
commit | d0ceb3ec4a014a5465aae4952e9c18d7722dc50f (patch) | |
tree | ae31d22a9e0483362dee56988742cc92733ddaa3 /drivers/gpu/drm/bridge/parade-ps8622.c | |
parent | drm/bridge: panel: clean up drm_bridge_add call (diff) | |
download | linux-d0ceb3ec4a014a5465aae4952e9c18d7722dc50f.tar.xz linux-d0ceb3ec4a014a5465aae4952e9c18d7722dc50f.zip |
drm/bridge: ps8622: clean up drm_bridge_add call
This patch removes unnecessary checking of return value.
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Signed-off-by: Archit Taneja <architt@codeaurora.org>
Link: http://patchwork.freedesktop.org/patch/msgid/1499071350-25168-8-git-send-email-inki.dae@samsung.com
Diffstat (limited to 'drivers/gpu/drm/bridge/parade-ps8622.c')
-rw-r--r-- | drivers/gpu/drm/bridge/parade-ps8622.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/gpu/drm/bridge/parade-ps8622.c b/drivers/gpu/drm/bridge/parade-ps8622.c index 6f22f9fec9bf..4f7725d4a309 100644 --- a/drivers/gpu/drm/bridge/parade-ps8622.c +++ b/drivers/gpu/drm/bridge/parade-ps8622.c @@ -598,11 +598,7 @@ static int ps8622_probe(struct i2c_client *client, ps8622->bridge.funcs = &ps8622_bridge_funcs; ps8622->bridge.of_node = dev->of_node; - ret = drm_bridge_add(&ps8622->bridge); - if (ret) { - DRM_ERROR("Failed to add bridge\n"); - return ret; - } + drm_bridge_add(&ps8622->bridge); i2c_set_clientdata(client, ps8622); |