powerpc/8xxx: Cleanup USB device-tree fixup
authorramneek mehresh <ramneek.mehresh@freescale.com>
Mon, 6 Feb 2012 19:17:29 +0000 (19:17 +0000)
committerAndy Fleming <afleming@freescale.com>
Wed, 15 Feb 2012 22:50:14 +0000 (16:50 -0600)
commit5a52977f2850dc0923151ad2d75c6af518940294
tree35a6888673cb896ee261a8bae0a01418ba776f0f
parent9a3aae22edf1eda6326cc51c28631ca5c23b7706
powerpc/8xxx: Cleanup USB device-tree fixup

Some code cleanup done for USB device-tree fixup:
- handling error value returned from fdt_fixup_usb_mode_phy_type()
- using ARRAY_SIZE macro
- using snprintf instead of sprintf

Signed-off-by: Ramneek Mehresh <ramneek.mehresh@freescale.com>
arch/powerpc/cpu/mpc8xxx/fdt.c