dm: usb: Split out the keyboard probe into its own function
authorSimon Glass <sjg@chromium.org>
Wed, 25 Mar 2015 18:22:33 +0000 (12:22 -0600)
committerSimon Glass <sjg@chromium.org>
Sat, 18 Apr 2015 17:11:25 +0000 (11:11 -0600)
commit603afaf0e5c895751c3fb24aa0ef05badc44a49e
treedb4f48decf891218fde9d767a3f8b2e95dc1e796
parentfbeceb260232ae9f102af11e6cb2f3743ecc9b9a
dm: usb: Split out the keyboard probe into its own function

Before adding driver model support, split out code from this over-long
function.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Marek Vasut <marex@denx.de>
common/usb_kbd.c