Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 849bf20e authored by Linus Torvalds's avatar Linus Torvalds
Browse files
parents d5301a0e 56fa18e8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
	}