]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: use dev_warn()/dev_dbg()/pr_err() instead of printk()
authorJingoo Han <jg1.han@samsung.com>
Wed, 20 Feb 2013 02:15:48 +0000 (13:15 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Feb 2013 05:53:29 +0000 (16:53 +1100)
commitcd1d71b10367308056e22be2d1c4016be49ab694
tree7259d0cdbf4ebb3053ef2bb31a1f2926a0ad0b10
parent6c2805348622c0dce1a55a1bd7d13977b541fe55
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>
drivers/rtc/class.c
drivers/rtc/rtc-dev.c