diff options
author | Inki Dae <inki.dae@samsung.com> | 2017-07-03 10:42:24 +0200 |
---|---|---|
committer | Archit Taneja <architt@codeaurora.org> | 2017-07-06 10:46:29 +0200 |
commit | d341a640db81cfe7a4a4e93a9fc79c66dd781834 (patch) | |
tree | d928842f278be9b2796d6ac610ba1975808cacae /drivers/gpu/drm/bridge | |
parent | drm/bridge: ps8622: clean up drm_bridge_add call (diff) | |
download | linux-d341a640db81cfe7a4a4e93a9fc79c66dd781834.tar.xz linux-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); |