]> git.baikalelectronics.ru Git - kernel.git/commit
USB: musb: only print info message if probe() is successful
authorFelipe Balbi <felipe.balbi@nokia.com>
Thu, 21 Jan 2010 13:33:58 +0000 (15:33 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 2 Mar 2010 22:54:45 +0000 (14:54 -0800)
commitecf16ad699aab2e02a3e7546558d15514248b988
treefcc9552dbfe99cf0fd7a31d08ae53256916eb1dc
parent24f07d291e5e604e120428d36805a3a5dd6eb9e8
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