backlight: cr_bllcd: use pr_err()/pr_info() instead of printk()
authorJingoo Han <[email protected]>
Tue, 29 May 2012 22:07:17 +0000 (15:07 -0700)
committerLinus Torvalds <[email protected]>
Tue, 29 May 2012 23:22:29 +0000 (16:22 -0700)
commit31e6432b3210e89a520fe17b9b29877780355b69
treeeda9ba2b3f65083267beb1bec908216e57cfaa3f
parent7b12c1b9ee6f66c12f9dc16f76474caa74dbc01f
backlight: cr_bllcd: use pr_err()/pr_info() instead of printk()

Use pr_err()/pr_info() instead of printk() to allow dynamic debugging.
The pr_fmt prefix for pr_ macros is used.  Also fix checkpatch warnings as
below:

WARNING: printk() should include KERN_ facility level
WARNING: Prefer pr_err(... to printk(KERN_ERR, ...

[[email protected]: use KBUILD_MODNAME, per Joe]
Signed-off-by: Jingoo Han <[email protected]>
Cc: Richard Purdie <[email protected]>
Cc: Joe Perches <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/video/backlight/cr_bllcd.c