]> asedeno.scripts.mit.edu Git - linux.git/commit
usb: gadget: amd5536udc: use WARN_ON
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Tue, 22 Sep 2015 13:24:28 +0000 (18:54 +0530)
committerFelipe Balbi <balbi@ti.com>
Thu, 1 Oct 2015 17:40:20 +0000 (12:40 -0500)
commit2e1b7d0c691c63c66d5bf5c097243f3b037adf32
tree3a2648fd4a46cb3897197e6931bb89de32b9cda3
parent580693bb3b66ce299f85f71dee60734438b1cd79
usb: gadget: amd5536udc: use WARN_ON

Use WARN_ON() instead of halting the kernel with BUG_ON() and also fix
the checkpatch warning.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/udc/amd5536udc.c