Skip to content

Commit

Permalink
usb: gadget: ci13xxx: replace home-brewed logging with dev_{err,warn,…
Browse files Browse the repository at this point in the history
…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 <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Alexander Shishkin authored and Greg Kroah-Hartman committed May 9, 2012
1 parent 62bb84e commit 0f08909
Show file tree
Hide file tree
Showing 2 changed files with 87 additions and 109 deletions.
Loading

0 comments on commit 0f08909

Please sign in to comment.