]> git.sur5r.net Git - u-boot/commit
drivers:usb:common:fsl-dt-fixup: Remove code duplication for fdt_usb_get_node_type
authorSriram Dash <sriram.dash@nxp.com>
Tue, 5 Apr 2016 09:11:20 +0000 (14:41 +0530)
committerMarek Vasut <marex@denx.de>
Sun, 10 Apr 2016 15:18:42 +0000 (17:18 +0200)
commit469e72bc5d982de1117a801c6f61b16853da2f28
tree7087183e717e429a6772d5ca26deeb961b9c7941
parent93eb8f39d27074846b04d8b889fd1b02d7489e8d
drivers:usb:common:fsl-dt-fixup: Remove code duplication for fdt_usb_get_node_type

Call fdt_usb_get_node_type() from fdt_fixup_usb_mode_phy_type() to
avoid code duplication.

Signed-off-by: Sriram Dash <sriram.dash@nxp.com>
Signed-off-by: Rajesh Bhagat <rajesh.bhagat@nxp.com>
Acked-by: Marek Vasut <marex@denx.de>
drivers/usb/common/fsl-dt-fixup.c