video: udlfb: (not only) Logging cleanup

Started by Ladislav Michl on Dec 11, 2017

DORMANTno replies SUPERSEDED

Status: Superseded by v2 (posted 2018-01-04). [go to v2]

Revision v1 (2 revisions archived).

Revisions (2)
  1. v1 current
  2. v2 [diff against previous]

open the first message on its own page

Message details and related content
This patchset is a side product of debugging on unreliable USB host
where devices saw a lot of disconnects. It turned out that udlfb
logging is just too noisy to be usefull as produced syslog is hard
to read.

Hence this attempt to clean things up.

Comments and suggestions welcome and appreciated, as always.

Ladislav Michl (6):
  video: udlfb: Do not name private data 'dev'
  video: udlfb: Remove unnecessary 'return'
  video: udlfb: Remove unnecessary local variable
  video: udlfb: Delete error messages for failed allocations
  video: udlfb: Remove redundant gdev variable
  video: udlfb: Switch from the pr_*() to the dev_*() logging functions

 drivers/video/fbdev/udlfb.c | 617 ++++++++++++++++++++------------------------
 include/video/udlfb.h       |   3 +-
 2 files changed, 284 insertions(+), 336 deletions(-)
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help