aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-10-14 23:48:50 -0400
committerLee Jones <lee.jones@linaro.org>2013-10-23 11:21:58 -0400
commit0f54e1e129aa0c0b6fd5763295ef60ea5af13256 (patch)
tree088b1e3bf7b57829670614fd5ed1a29d9b6e7317 /drivers/mfd
parent131221bc5e317d9d24d7f3922cc798058cf8aadd (diff)
mfd: omap-usb: Remove redundant of_match_ptr
The data structure of_match_ptr() protects is always compiled in. Hence of_match_ptr() is not needed. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/omap-usb-host.c2
-rw-r--r--drivers/mfd/omap-usb-tll.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mfd/omap-usb-host.c b/drivers/mfd/omap-usb-host.c
index 29ee54d68512..1b65ffe08ff9 100644
--- a/drivers/mfd/omap-usb-host.c
+++ b/drivers/mfd/omap-usb-host.c
@@ -893,7 +893,7 @@ static struct platform_driver usbhs_omap_driver = {
893 .name = (char *)usbhs_driver_name, 893 .name = (char *)usbhs_driver_name,
894 .owner = THIS_MODULE, 894 .owner = THIS_MODULE,
895 .pm = &usbhsomap_dev_pm_ops, 895 .pm = &usbhsomap_dev_pm_ops,
896 .of_match_table = of_match_ptr(usbhs_omap_dt_ids), 896 .of_match_table = usbhs_omap_dt_ids,
897 }, 897 },
898 .remove = usbhs_omap_remove, 898 .remove = usbhs_omap_remove,
899}; 899};
diff --git a/drivers/mfd/omap-usb-tll.c b/drivers/mfd/omap-usb-tll.c
index e59ac4cbac96..b8f6401cbc22 100644
--- a/drivers/mfd/omap-usb-tll.c
+++ b/drivers/mfd/omap-usb-tll.c
@@ -320,7 +320,7 @@ static struct platform_driver usbtll_omap_driver = {
320 .driver = { 320 .driver = {
321 .name = (char *)usbtll_driver_name, 321 .name = (char *)usbtll_driver_name,
322 .owner = THIS_MODULE, 322 .owner = THIS_MODULE,
323 .of_match_table = of_match_ptr(usbtll_omap_dt_ids), 323 .of_match_table = usbtll_omap_dt_ids,
324 }, 324 },
325 .probe = usbtll_omap_probe, 325 .probe = usbtll_omap_probe,
326 .remove = usbtll_omap_remove, 326 .remove = usbtll_omap_remove,