usb: host: ehci-platform: Remove redundant use of of_match_ptr
'vt8500_ehci_ids' is always compiled in. Hence use of of_match_ptr is unnecessary. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
be4b08ccfb
commit
ae5e5f7bda
@@ -223,7 +223,7 @@ static struct platform_driver ehci_platform_driver = {
|
|||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
.name = "ehci-platform",
|
.name = "ehci-platform",
|
||||||
.pm = &ehci_platform_pm_ops,
|
.pm = &ehci_platform_pm_ops,
|
||||||
.of_match_table = of_match_ptr(vt8500_ehci_ids),
|
.of_match_table = vt8500_ehci_ids,
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user