rtc: rtc-ds2404: use dev_err() instead of printk()
authorJingoo Han <jg1.han@samsung.com>
Fri, 22 Feb 2013 00:45:26 +0000 (16:45 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 22 Feb 2013 01:22:29 +0000 (17:22 -0800)
commit0fae82378ad55a7dfd03f5f6fb092798d8019bc3
treed1d70b8bcc6b55bc001e3cf1dc8609f9bd854ef6
parent34650f9ea128a124d325b67b38f59c82635741eb
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-ds2404.c