Skip to content
Snippets Groups Projects
Commit 849bf20e authored by Linus Torvalds's avatar Linus Torvalds
Browse files
parents d5301a0e 56fa18e8
No related branches found
No related tags found
No related merge requests found
......@@ -201,7 +201,7 @@ int power_supply_uevent(struct device *dev, struct kobj_uevent_env *env)
dev_dbg(dev, "uevent\n");
if (!psy) {
if (!psy || !psy->dev) {
dev_dbg(dev, "No power supply yet\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