From: Romain Izard Date: Mon, 29 Aug 2016 09:22:29 +0000 (+0300) Subject: usb: gadget: configfs: log function unbinding as debug X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=da7b895d518cc1753ee5f4b7f2158087282d1a65;p=linux-beck.git usb: gadget: configfs: log function unbinding as debug Disabling USB gadget functions configured through configfs is something that can happen in normal use cases. Keep the existing log for this type of event, but only as debug, not as an error. Signed-off-by: Romain Izard Signed-off-by: Felipe Balbi --- diff --git a/drivers/usb/gadget/configfs.c b/drivers/usb/gadget/configfs.c index de844d44b998..3984787f8e97 100644 --- a/drivers/usb/gadget/configfs.c +++ b/drivers/usb/gadget/configfs.c @@ -1211,7 +1211,7 @@ static void purge_configs_funcs(struct gadget_info *gi) list_move_tail(&f->list, &cfg->func_list); if (f->unbind) { - dev_info(&gi->cdev.gadget->dev, + dev_dbg(&gi->cdev.gadget->dev, "unbind function '%s'/%p\n", f->name, f); f->unbind(c, f);