projects
/
GitHub
/
LineageOS
/
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:
3a45d25
)
drm/bridge: ps8622: clean up drm_bridge_add call
author
Inki Dae
<inki.dae@samsung.com>
Mon, 3 Jul 2017 08:42:23 +0000
(17:42 +0900)
committer
Archit Taneja
<architt@codeaurora.org>
Thu, 6 Jul 2017 08:46:27 +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-8-git-send-email-inki.dae@samsung.com
drivers/gpu/drm/bridge/parade-ps8622.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/bridge/parade-ps8622.c
b/drivers/gpu/drm/bridge/parade-ps8622.c
index 6f22f9fec9bfed145e6fd781c715287c97f1d682..4f7725d4a30909ffc56ea990deb388a515f8bbc3 100644
(file)
--- 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);