diff options
| author | Paul Kocialkowski <contact@paulk.fr> | 2015-04-04 15:12:28 +0200 |
|---|---|---|
| committer | Marek Vasut <marex@denx.de> | 2015-04-14 05:47:48 +0200 |
| commit | 8879be88576024a48ae135ea0b3835727d8c9a3a (patch) | |
| tree | 67035fccdae5082272c58e4a4a26d1e359344445 /include/linux/linux_string.h | |
| parent | 5a80b3449ba7a3ef0230a79b8e26252b885f7616 (diff) | |
usb: Check usb_new_device for failure
This checks that a new USB device is correctly initialized and frees it if not.
In addition, this doesn't report that USB was started when no device was found.
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'include/linux/linux_string.h')
0 files changed, 0 insertions, 0 deletions
