projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08c992c
)
drm/bridge: adv7511: clean up drm_bridge_add call
author
Inki Dae
<inki.dae@samsung.com>
Mon, 3 Jul 2017 08:42:18 +0000
(17:42 +0900)
committer
Archit Taneja
<architt@codeaurora.org>
Thu, 6 Jul 2017 08:45:55 +0000
(14:15 +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-3-git-send-email-inki.dae@samsung.com
drivers/gpu/drm/bridge/adv7511/adv7511_drv.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/bridge/adv7511/adv7511_drv.c
b/drivers/gpu/drm/bridge/adv7511/adv7511_drv.c
index f75ab627811349beb55180a2c651e1c666da08a7..ff9792d350c8713b7efbf7fa6f2092476004f543 100644
(file)
--- a/
drivers/gpu/drm/bridge/adv7511/adv7511_drv.c
+++ b/
drivers/gpu/drm/bridge/adv7511/adv7511_drv.c
@@
-1126,11
+1126,7
@@
static int adv7511_probe(struct i2c_client *i2c, const struct i2c_device_id *id)
adv7511->bridge.funcs = &adv7511_bridge_funcs;
adv7511->bridge.of_node = dev->of_node;
- ret = drm_bridge_add(&adv7511->bridge);
- if (ret) {
- dev_err(dev, "failed to add adv7511 bridge\n");
- goto err_unregister_cec;
- }
+ drm_bridge_add(&adv7511->bridge);
adv7511_audio_init(dev, adv7511);