]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
backlight: use pr_warn() and pr_debug() instead of printk()
authorJingoo Han <jg1.han@samsung.com>
Tue, 29 May 2012 22:07:16 +0000 (15:07 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 May 2012 23:22:29 +0000 (16:22 -0700)
commit35f961623cee5212d4ee0baa8c34b1766913b36b
treea68358ec16195a57273cd22595368b3b3850864b
parent71d7225cd4275e7fd7003dd6ec42320905eacc7d
backlight: use pr_warn() and pr_debug() instead of printk()

Use pr_warn() and pr_debug() 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_warn(... to printk(KERN_WARNING, ...

[akpm@linux-foundation.org: use KBUILD_MODNAME, per Joe]
Signed-off-by: Jingoo Han <jg1.han@samsung.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>
drivers/video/backlight/backlight.c
drivers/video/backlight/lcd.c