projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b678682
)
drm/bridge: tc358767: clean up drm_bridge_add call
author
Inki Dae
<inki.dae@samsung.com>
Mon, 3 Jul 2017 08:42:26 +0000
(17:42 +0900)
committer
Archit Taneja
<architt@codeaurora.org>
Thu, 6 Jul 2017 08:46:37 +0000
(14:16 +0530)
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
drivers/gpu/drm/bridge/tc358767.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/bridge/tc358767.c
b/drivers/gpu/drm/bridge/tc358767.c
index 5c26488e7a2d7a0320ddf321375b8ff4c200185f..12a35f9c3adce96b0e6d970fc14fb98b02bfe6d3 100644
(file)
--- 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);