]> git.karo-electronics.de Git - linux-beck.git/commit
staging: ft1000: ft1000-pcmcia: Replace printks with netdev_<level> and dev_<level>
authorKumari Radha <kumari.radha3@gmail.com>
Fri, 3 Oct 2014 19:15:14 +0000 (00:45 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Oct 2014 02:29:17 +0000 (10:29 +0800)
commitaa21894b3c16d673eb394fc14f445a78cc572cb2
tree4692b4d6094d439ae34f428bae398f7a2dd85271
parent4ecdc381d768eb978b782ccb66c959db7231f2d8
staging: ft1000: ft1000-pcmcia: Replace printks with netdev_<level> and dev_<level>

This patch replaces printk(KERN_INFO ... with dev_info and printk(KERN_ERR ... with netdev_err fixing following checkpatch.pl warnings in ft1000_hw.c:
WARNING: Prefer [subsystem eg: netdev]_info([subsystem]dev,  ... then dev_info(dev,  ... then pr_info(...  to printk(KERN_INFO ...
WARNING: Prefer [subsystem eg: netdev]_err([subsystem]dev,  ... then dev_err(dev,  ... then pr_err(...  to printk(KERN_ERR ...

Signed-off-by: Kumari Radha <kumari.radha3@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c