diff options
author | Inki Dae <inki.dae@samsung.com> | 2017-07-03 17:42:26 +0900 |
---|---|---|
committer | Archit Taneja <architt@codeaurora.org> | 2017-07-06 14:16:37 +0530 |
commit | dc01732eee8c029bf148be2e9476b9526727b56f (patch) | |
tree | 5ae74c64011a58f29069d566a3c7d28562a5a690 | |
parent | b678682e846d91a105d2ca8a9bf3831ebd7c9d9b (diff) | |
download | linux-dc01732eee8c029bf148be2e9476b9526727b56f.tar.bz2 |
drm/bridge: tc358767: 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-11-git-send-email-inki.dae@samsung.com
-rw-r--r-- | drivers/gpu/drm/bridge/tc358767.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/gpu/drm/bridge/tc358767.c b/drivers/gpu/drm/bridge/tc358767.c index 5c26488e7a2d..12a35f9c3adc 100644 --- a/drivers/gpu/drm/bridge/tc358767.c +++ b/drivers/gpu/drm/bridge/tc358767.c @@ -1325,11 +1325,7 @@ static int tc_probe(struct i2c_client *client, const struct i2c_device_id *id) tc->bridge.funcs = &tc_bridge_funcs; tc->bridge.of_node = dev->of_node; - ret = drm_bridge_add(&tc->bridge); - if (ret) { - dev_err(dev, "Failed to add drm_bridge: %d\n", ret); - goto err_unregister_aux; - } + drm_bridge_add(&tc->bridge); i2c_set_clientdata(client, tc); |