Parcourir la source

usb: phy-keystone: Remove redundant of_match_ptr helper

'keystone_usbphy_ids' is always compiled in. Hence the
helper macro is not needed.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Cc: WingMan Kwok <w-kwok2@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Sachin Kamat il y a 11 ans
Parent
commit
ed40082da0
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      drivers/usb/phy/phy-keystone.c

+ 1 - 1
drivers/usb/phy/phy-keystone.c

@@ -129,7 +129,7 @@ static struct platform_driver keystone_usbphy_driver = {
 	.driver         = {
 		.name   = "keystone-usbphy",
 		.owner  = THIS_MODULE,
-		.of_match_table = of_match_ptr(keystone_usbphy_ids),
+		.of_match_table = keystone_usbphy_ids,
 	},
 };