usb: gadget: function: Simplify diagnostic messaging in printer
authorAndrzej Pietrasiewicz <andrzej.p@collabora.com>
Wed, 23 Nov 2022 11:07:46 +0000 (12:07 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Nov 2022 07:56:09 +0000 (08:56 +0100)
commit57b7b733b1a7aeab25bc2670afff608214284863
tree9e30db8515dd68c40fc408f82ed80bf093760246
parente0dced9c7d4763fd97c86a13902d135f03cc42eb
usb: gadget: function: Simplify diagnostic messaging in printer

Don't issue messages which can be easily achieved with ftrace.
In case of printer_open() the return code is propagated to other layers
so the user will know about -EBUSY anyway.

Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@collabora.com>
Link: https://lore.kernel.org/r/20221123110746.59611-1-andrzej.p@collabora.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/function/f_printer.c