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

Commit 0796e755 authored by Friedrich Oslage's avatar Friedrich Oslage Committed by David S. Miller
Browse files

sunhme: Fix qfe parent detection.

parent d0cac39e
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -2630,8 +2630,6 @@ static int __devinit happy_meal_sbus_probe_one(struct of_device *op, int is_qfe)
	int err = -ENODEV;

	sbus_dp = to_of_device(op->dev.parent)->node;
	if (is_qfe)
		sbus_dp = to_of_device(op->dev.parent->parent)->node;

	/* We can match PCI devices too, do not accept those here. */
	if (strcmp(sbus_dp->name, "sbus"))