diff options
author | Inki Dae <inki.dae@samsung.com> | 2017-07-03 17:42:24 +0900 |
---|---|---|
committer | Archit Taneja <architt@codeaurora.org> | 2017-07-06 14:16:29 +0530 |
commit | d341a640db81cfe7a4a4e93a9fc79c66dd781834 (patch) | |
tree | d928842f278be9b2796d6ac610ba1975808cacae /drivers/gpu/drm/bridge | |
parent | d0ceb3ec4a014a5465aae4952e9c18d7722dc50f (diff) | |
download | linux-stable-d341a640db81cfe7a4a4e93a9fc79c66dd781834.tar.gz linux-stable-d341a640db81cfe7a4a4e93a9fc79c66dd781834.tar.bz2 linux-stable-d341a640db81cfe7a4a4e93a9fc79c66dd781834.zip |
drm/bridge: sii902x: 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-9-git-send-email-inki.dae@samsung.com
Diffstat (limited to 'drivers/gpu/drm/bridge')
-rw-r--r-- | drivers/gpu/drm/bridge/sii902x.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/gpu/drm/bridge/sii902x.c b/drivers/gpu/drm/bridge/sii902x.c index 9b87067c022c..b8d10e599df0 100644 --- a/drivers/gpu/drm/bridge/sii902x.c +++ b/drivers/gpu/drm/bridge/sii902x.c @@ -418,11 +418,7 @@ static int sii902x_probe(struct i2c_client *client, sii902x->bridge.funcs = &sii902x_bridge_funcs; sii902x->bridge.of_node = dev->of_node; - ret = drm_bridge_add(&sii902x->bridge); - if (ret) { - dev_err(dev, "Failed to add drm_bridge\n"); - return ret; - } + drm_bridge_add(&sii902x->bridge); i2c_set_clientdata(client, sii902x); |