diff options
author | Jingoo Han <jg1.han@samsung.com> | 2012-05-29 15:07:16 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-05-29 16:22:29 -0700 |
commit | 7b12c1b9ee6f66c12f9dc16f76474caa74dbc01f (patch) | |
tree | 55a36085b3dac5965d7e2684bacd762bea47930c /drivers/video/cg6.c | |
parent | 35f961623cee5212d4ee0baa8c34b1766913b36b (diff) | |
download | linux-stable-7b12c1b9ee6f66c12f9dc16f76474caa74dbc01f.tar.gz linux-stable-7b12c1b9ee6f66c12f9dc16f76474caa74dbc01f.tar.bz2 linux-stable-7b12c1b9ee6f66c12f9dc16f76474caa74dbc01f.zip |
backlight: apple_bl: use pr_debug()/pr_err() instead of printk()
Use pr_debug()/pr_err() instead of printk() to allow dynamic debugging.
The pr_fmt prefix for pr_ macros is used. Also fix checkpatch warnings as
below:
WARNING: Prefer pr_debug(... to printk(KERN_DEBUG, ...
WARNING: Prefer pr_err(... to printk(KERN_ERR, ...
[akpm@linux-foundation.org: use KBUILD_MODNAME, per Joe]
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Cc: Matthew Garrett <mjg@redhat.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/cg6.c')
0 files changed, 0 insertions, 0 deletions