Skip to content
Snippets Groups Projects
Commit 7f7fb53f authored by Vinay Simha BN's avatar Vinay Simha BN Committed by Sam Ravnborg
Browse files

drm/bridge/tc358775: Fix for PTR_ERR

parent fc26a375
No related branches found
No related tags found
No related merge requests found
......@@ -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->vddio);
ret = PTR_ERR(tc->vdd);
dev_err(dev, "vdd-supply not found\n");
return ret;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment