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

Commit 2c398f3e authored by Sachin Kamat's avatar Sachin Kamat Committed by Greg Kroah-Hartman
Browse files

usb: host: ehci-spear: Remove redundant use of of_match_ptr



'spear_ehci_id_table' is always compiled in. Hence use of
of_match_ptr is unnecessary.

Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Acked-by: default avatarAlan Stern <stern@rowland.harvard.edu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ae5e5f7b
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -174,7 +174,7 @@ static struct platform_driver spear_ehci_hcd_driver = {
		.name = "spear-ehci",
		.name = "spear-ehci",
		.bus = &platform_bus_type,
		.bus = &platform_bus_type,
		.pm = &ehci_spear_pm_ops,
		.pm = &ehci_spear_pm_ops,
		.of_match_table = of_match_ptr(spear_ehci_id_table),
		.of_match_table = spear_ehci_id_table,
	}
	}
};
};