usb: gadget: at91_udc: fix dt support
authorFabio Porcedda <fabio.porcedda@gmail.com>
Fri, 7 Sep 2012 13:27:42 +0000 (15:27 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 10 Sep 2012 13:20:26 +0000 (16:20 +0300)
commit9c6d196d5aa35e07482f23c3e37755e7a82140e0
treeb65b16054301550f1883b6bfe2b65273aa54d946
parent162ca3ca613e02e115ec9c5273f94bd22dad0af2
usb: gadget: at91_udc: fix dt support

Don't fail the initialization check for the platform_data
if there is avaiable an associated device tree node.

Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/at91_udc.c