USB: musb: only print info message if probe() is successful
commitab3bbfa1af64a978ffff45861a1b694313a03537
authorFelipe Balbi <felipe.balbi@nokia.com>
Thu, 21 Jan 2010 13:33:58 +0000 (21 15:33 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 2 Mar 2010 22:54:45 +0000 (2 14:54 -0800)
treefcc9552dbfe99cf0fd7a31d08ae53256916eb1dc
parentda5108e1a350c84b185b5f11aa58fea93a204fe0
USB: musb: only print info message if probe() is successful

we were printing the info about musb probe too early where
it was still possible for things to go wrong. Move the
down right before the return 0 statement. While at that
also convert pr_info to dev_info.

Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/musb/musb_core.c