projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc26a37
)
drm/bridge/tc358775: Fix for PTR_ERR
author
Vinay Simha BN
<simhavcs@gmail.com>
Sun, 16 Aug 2020 05:50:41 +0000
(11:20 +0530)
committer
Sam Ravnborg
<sam@ravnborg.org>
Sun, 23 Aug 2020 15:04:16 +0000
(17:04 +0200)
passing zero to 'PTR_ERR'
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Vinay Simha BN <simhavcs@gmail.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link:
https://patchwork.freedesktop.org/patch/msgid/1597557042-5154-1-git-send-email-simhavcs@gmail.com
drivers/gpu/drm/bridge/tc358775.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/bridge/tc358775.c
b/drivers/gpu/drm/bridge/tc358775.c
index
7da15cd
..
d951cdc
100644
(file)
--- a/
drivers/gpu/drm/bridge/tc358775.c
+++ b/
drivers/gpu/drm/bridge/tc358775.c
@@
-684,7
+684,7
@@
static int tc_probe(struct i2c_client *client, const struct i2c_device_id *id)
tc->vdd = devm_regulator_get(dev, "vdd-supply");
if (IS_ERR(tc->vdd)) {
- ret = PTR_ERR(tc->vdd
io
);
+ ret = PTR_ERR(tc->vdd);
dev_err(dev, "vdd-supply not found\n");
return ret;
}