1
0
Files
linux/drivers/usb/dwc3
Felipe Balbi 95ca961c75 usb: dwc3: gadget: pass a condition to dev_WARN_ONCE()
instead of using:

	if (condition) {
		dev_WARN_ONCE(dev, true, "foo");
		return -EINVAL;
	}

let's use:

	if (dev_WARN_ONCE(dev, condition, "foo"))
		return -EINVAL;

Signed-off-by: Felipe Balbi <balbi@ti.com>
2015-12-16 10:07:27 -06:00
..
2015-12-15 09:12:41 -06:00
2015-12-15 09:12:41 -06:00
2013-07-29 13:56:44 +03:00
2015-03-10 15:33:33 -05:00
2015-12-15 09:12:41 -06:00
2015-05-13 12:06:52 -05:00