David Rientjes 75bfe23a36 usb, gadget: use appropriate warning accessors
Use the appropriate WARN() and WARN_ON() accessors to avoid a build error
when CONFIG_BUG=n:

	drivers/usb/gadget/configfs.c: In function 'config_usb_cfg_unlink':
	drivers/usb/gadget/configfs.c:442:2: error: implicit declaration of function '__WARN_printf'
	drivers/usb/gadget/configfs.c: In function 'configfs_do_nothing':
	drivers/usb/gadget/configfs.c:733:2: error: implicit declaration of function '__WARN'

Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: David Rientjes <rientjes@google.com>
Cc: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-04-08 09:08:35 -07:00
..
2013-04-05 15:18:00 -07:00
2013-04-05 15:18:00 -07:00
2012-11-21 13:27:17 -08:00
2013-04-05 15:18:00 -07:00
2013-04-05 15:18:00 -07:00
2013-04-05 15:18:00 -07:00
2013-04-03 21:02:47 +03:00
2013-02-22 23:31:31 -05:00
2013-02-22 23:31:31 -05:00
2013-04-05 15:18:00 -07:00
2013-01-21 20:52:49 +02:00