dm: usb: Deprecate usb_get_dev_index()
authorSimon Glass <sjg@chromium.org>
Mon, 9 Nov 2015 06:47:59 +0000 (23:47 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 20 Nov 2015 03:27:52 +0000 (20:27 -0700)
commite8ea5e8c8568c8cbb752e524e8eb74f776f5e262
treebd6f8656470f4b8e0322b2bd63e2cd124c9c52d9
parent79725ca4f6d583e4c677f694b89c839ed7b07b8f
dm: usb: Deprecate usb_get_dev_index()

This function should not be used with driver model. While there are users
of USB Ethernet that use driver model for USB but not Ethernet, we have
to keep it around. Add a comment to that effect.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/usb/host/usb-uclass.c