]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: rtc-ds2404: use dev_err() instead of printk()
authorJingoo Han <jg1.han@samsung.com>
Wed, 20 Feb 2013 02:15:49 +0000 (13:15 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Feb 2013 05:53:29 +0000 (16:53 +1100)
commit7c3b90c3ea8641c8684e1e12a2746658e0e31c7c
treeb740d711ced43a5c2bbea2d98d1dc158cd84ef0f
parente986ed0d38e6183d69050a63cfb0c8639820ed00
rtc: rtc-ds2404: use dev_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/rtc-ds2404.c