Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

usb: phy: phy-nop: Remove redundant use of of_match_ptr

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

Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>

authored by

Sachin Kamat and committed by
Felipe Balbi
7a22cc97 e823aa7c

+1 -1
+1 -1
drivers/usb/phy/phy-nop.c
··· 270 270 .driver = { 271 271 .name = "nop_usb_xceiv", 272 272 .owner = THIS_MODULE, 273 - .of_match_table = of_match_ptr(nop_xceiv_dt_ids), 273 + .of_match_table = nop_xceiv_dt_ids, 274 274 }, 275 275 }; 276 276