dm: usb: Mark the device name as alloced when binding
Since usb_find_and_bind_driver() allocates the device name it should tell
driver about that, to avoid memory leaks. Fix this.
Signed-off-by:
Simon Glass <sjg@chromium.org>
Loading
Please register or sign in to comment