summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/omap-usb-host.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-10-15 05:48:50 +0200
committerLee Jones <lee.jones@linaro.org>2013-10-23 17:21:58 +0200
commit0f54e1e129aa0c0b6fd5763295ef60ea5af13256 (patch)
tree088b1e3bf7b57829670614fd5ed1a29d9b6e7317 /drivers/mfd/omap-usb-host.c
parentmfd: ti_am335x_tscadc: Remove redundant of_match_ptr (diff)
downloadlinux-0f54e1e129aa0c0b6fd5763295ef60ea5af13256.tar.xz
linux-0f54e1e129aa0c0b6fd5763295ef60ea5af13256.zip
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/omap-usb-host.c')
-rw-r--r--drivers/mfd/omap-usb-host.c2
1 files changed, 1 insertions, 1 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 = {
.name = (char *)usbhs_driver_name,
.owner = THIS_MODULE,
.pm = &usbhsomap_dev_pm_ops,
- .of_match_table = of_match_ptr(usbhs_omap_dt_ids),
+ .of_match_table = usbhs_omap_dt_ids,
},
.remove = usbhs_omap_remove,
};