diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2008-08-18 16:21:04 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-10-17 17:41:10 -0400 |
commit | 899ef6e7cf2f057fcfd8071b36de04117313242b (patch) | |
tree | 59229f8188930f6c043177b3f7e0e5eeb91d3d4c /drivers/input/misc | |
parent | 880c9c66a60c0aa4fb4dac2da9679da5f8f41903 (diff) |
USB: remove info() macro from usb input drivers
USB should not be having it's own printk macros, so remove info() and
use the system-wide standard of dev_info() wherever possible.
Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/input/misc')
-rw-r--r-- | drivers/input/misc/ati_remote.c | 6 | ||||
-rw-r--r-- | drivers/input/misc/yealink.c | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/drivers/input/misc/ati_remote.c b/drivers/input/misc/ati_remote.c index 428ecd3294a3..e290fde35e74 100644 --- a/drivers/input/misc/ati_remote.c +++ b/drivers/input/misc/ati_remote.c | |||
@@ -834,9 +834,11 @@ static int __init ati_remote_init(void) | |||
834 | 834 | ||
835 | result = usb_register(&ati_remote_driver); | 835 | result = usb_register(&ati_remote_driver); |
836 | if (result) | 836 | if (result) |
837 | err("usb_register error #%d\n", result); | 837 | printk(KERN_ERR KBUILD_MODNAME |
838 | ": usb_register error #%d\n", result); | ||
838 | else | 839 | else |
839 | info("Registered USB driver " DRIVER_DESC " v. " DRIVER_VERSION); | 840 | printk(KERN_INFO KBUILD_MODNAME ": " DRIVER_VERSION ":" |
841 | DRIVER_DESC "\n"); | ||
840 | 842 | ||
841 | return result; | 843 | return result; |
842 | } | 844 | } |
diff --git a/drivers/input/misc/yealink.c b/drivers/input/misc/yealink.c index 11b5c7e84ed1..93a22ac0f88c 100644 --- a/drivers/input/misc/yealink.c +++ b/drivers/input/misc/yealink.c | |||
@@ -999,7 +999,8 @@ static int __init yealink_dev_init(void) | |||
999 | { | 999 | { |
1000 | int ret = usb_register(&yealink_driver); | 1000 | int ret = usb_register(&yealink_driver); |
1001 | if (ret == 0) | 1001 | if (ret == 0) |
1002 | info(DRIVER_DESC ":" DRIVER_VERSION); | 1002 | printk(KERN_INFO KBUILD_MODNAME ": " DRIVER_VERSION ":" |
1003 | DRIVER_DESC "\n"); | ||
1003 | return ret; | 1004 | return ret; |
1004 | } | 1005 | } |
1005 | 1006 | ||