From: Alexander Shishkin Date: Tue, 8 May 2012 20:29:02 +0000 (+0300) Subject: usb: gadget: ci13xxx: replace home-brewed logging with dev_{err,warn,info} X-Git-Tag: v3.5-rc1~149^2~112 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f089094cde53a2639c965cd3bd3fdef27006446;p=pandora-kernel.git usb: gadget: ci13xxx: replace home-brewed logging with dev_{err,warn,info} Logging output in the driver is mostly done using custom err/warn/info macros which rely on the existence of the global variable _udc, which is a global reference to the udc controller structure. This reference will have to go in order to allow us to have more than one chipidea udc in the system. Thus, replace custom macros with dev_{err,warn,info} using the platform device where possible. The trace() macro, which is a nop by default is left for tracing purposes. Signed-off-by: Alexander Shishkin Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed