fotg210: change dbg_port() to evaluate parameters only if needed
authorOliver Neukum <oneukum@suse.de>
Mon, 18 Nov 2013 12:23:05 +0000 (13:23 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Dec 2013 18:28:39 +0000 (10:28 -0800)
commitf848a88d223cafa43cb318839a1171b498cf5ec8
tree9793c122c42fb70c5dc58b46cbb7c64a5bd5ccab
parent063635ec3ac6d02cefce06038f2166bbff85d840
fotg210: change dbg_port() to evaluate parameters only if needed

For dynamic debug the overhead for evaluating parameters must
be sacrificed only if the message is actually printed

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/fotg210-hcd.c