]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
rtc: use dev_warn()/dev_dbg()/pr_err() instead of printk()
authorJingoo Han <jg1.han@samsung.com>
Fri, 22 Feb 2013 00:45:23 +0000 (16:45 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 22 Feb 2013 01:22:29 +0000 (17:22 -0800)
commitc100a5e0255777c783646791e98434f300a94c4c
treea3de1d1a54232faf7f21a43300da8fd6727e16e5
parent0cc0c38e91392d2da769c9831739df43787d99e3
rtc: use dev_warn()/dev_dbg()/pr_err() instead of printk()

Fix the checkpatch warning as below:

  WARNING: Prefer netdev_err(netdev, ... then dev_err(dev, ... then pr_err(...  to printk(KERN_ERR ...

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/class.c
drivers/rtc/rtc-dev.c