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/tablet | |
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/tablet')
-rw-r--r-- | drivers/input/tablet/acecad.c | 3 | ||||
-rw-r--r-- | drivers/input/tablet/aiptek.c | 13 | ||||
-rw-r--r-- | drivers/input/tablet/gtco.c | 4 | ||||
-rw-r--r-- | drivers/input/tablet/kbtab.c | 3 | ||||
-rw-r--r-- | drivers/input/tablet/wacom_sys.c | 3 |
5 files changed, 16 insertions, 10 deletions
diff --git a/drivers/input/tablet/acecad.c b/drivers/input/tablet/acecad.c index 570e0e83ac46..670c61c5a516 100644 --- a/drivers/input/tablet/acecad.c +++ b/drivers/input/tablet/acecad.c | |||
@@ -280,7 +280,8 @@ static int __init usb_acecad_init(void) | |||
280 | { | 280 | { |
281 | int result = usb_register(&usb_acecad_driver); | 281 | int result = usb_register(&usb_acecad_driver); |
282 | if (result == 0) | 282 | if (result == 0) |
283 | info(DRIVER_VERSION ":" DRIVER_DESC); | 283 | printk(KERN_INFO KBUILD_MODNAME ": " DRIVER_VERSION ":" |
284 | DRIVER_DESC "\n"); | ||
284 | return result; | 285 | return result; |
285 | } | 286 | } |
286 | 287 | ||
diff --git a/drivers/input/tablet/aiptek.c b/drivers/input/tablet/aiptek.c index 1aa82e8af614..7d005a3616d7 100644 --- a/drivers/input/tablet/aiptek.c +++ b/drivers/input/tablet/aiptek.c | |||
@@ -1844,8 +1844,9 @@ aiptek_probe(struct usb_interface *intf, const struct usb_device_id *id) | |||
1844 | aiptek->curSetting.programmableDelay = speeds[i]; | 1844 | aiptek->curSetting.programmableDelay = speeds[i]; |
1845 | (void)aiptek_program_tablet(aiptek); | 1845 | (void)aiptek_program_tablet(aiptek); |
1846 | if (aiptek->inputdev->absmax[ABS_X] > 0) { | 1846 | if (aiptek->inputdev->absmax[ABS_X] > 0) { |
1847 | info("input: Aiptek using %d ms programming speed\n", | 1847 | dev_info(&intf->dev, |
1848 | aiptek->curSetting.programmableDelay); | 1848 | "Aiptek using %d ms programming speed\n", |
1849 | aiptek->curSetting.programmableDelay); | ||
1849 | break; | 1850 | break; |
1850 | } | 1851 | } |
1851 | } | 1852 | } |
@@ -1853,7 +1854,8 @@ aiptek_probe(struct usb_interface *intf, const struct usb_device_id *id) | |||
1853 | /* Murphy says that some day someone will have a tablet that fails the | 1854 | /* Murphy says that some day someone will have a tablet that fails the |
1854 | above test. That's you, Frederic Rodrigo */ | 1855 | above test. That's you, Frederic Rodrigo */ |
1855 | if (i == ARRAY_SIZE(speeds)) { | 1856 | if (i == ARRAY_SIZE(speeds)) { |
1856 | info("input: Aiptek tried all speeds, no sane response"); | 1857 | dev_info(&intf->dev, |
1858 | "Aiptek tried all speeds, no sane response\n"); | ||
1857 | goto fail2; | 1859 | goto fail2; |
1858 | } | 1860 | } |
1859 | 1861 | ||
@@ -1925,8 +1927,9 @@ static int __init aiptek_init(void) | |||
1925 | { | 1927 | { |
1926 | int result = usb_register(&aiptek_driver); | 1928 | int result = usb_register(&aiptek_driver); |
1927 | if (result == 0) { | 1929 | if (result == 0) { |
1928 | info(DRIVER_VERSION ": " DRIVER_AUTHOR); | 1930 | printk(KERN_INFO KBUILD_MODNAME ": " DRIVER_VERSION ":" |
1929 | info(DRIVER_DESC); | 1931 | DRIVER_DESC "\n"); |
1932 | printk(KERN_INFO KBUILD_MODNAME ": " DRIVER_AUTHOR "\n"); | ||
1930 | } | 1933 | } |
1931 | return result; | 1934 | return result; |
1932 | } | 1935 | } |
diff --git a/drivers/input/tablet/gtco.c b/drivers/input/tablet/gtco.c index 7df0228e836e..5524e01dbb1a 100644 --- a/drivers/input/tablet/gtco.c +++ b/drivers/input/tablet/gtco.c | |||
@@ -2,7 +2,7 @@ | |||
2 | 2 | ||
3 | GTCO digitizer USB driver | 3 | GTCO digitizer USB driver |
4 | 4 | ||
5 | Use the err(), dbg() and info() macros from usb.h for system logging | 5 | Use the err() and dbg() macros from usb.h for system logging |
6 | 6 | ||
7 | TO CHECK: Is pressure done right on report 5? | 7 | TO CHECK: Is pressure done right on report 5? |
8 | 8 | ||
@@ -1010,7 +1010,7 @@ static void gtco_disconnect(struct usb_interface *interface) | |||
1010 | kfree(gtco); | 1010 | kfree(gtco); |
1011 | } | 1011 | } |
1012 | 1012 | ||
1013 | info("gtco driver disconnected"); | 1013 | dev_info(&interface->dev, "gtco driver disconnected\n"); |
1014 | } | 1014 | } |
1015 | 1015 | ||
1016 | /* STANDARD MODULE LOAD ROUTINES */ | 1016 | /* STANDARD MODULE LOAD ROUTINES */ |
diff --git a/drivers/input/tablet/kbtab.c b/drivers/input/tablet/kbtab.c index d89112fa6e6b..6682b17bf844 100644 --- a/drivers/input/tablet/kbtab.c +++ b/drivers/input/tablet/kbtab.c | |||
@@ -215,7 +215,8 @@ static int __init kbtab_init(void) | |||
215 | retval = usb_register(&kbtab_driver); | 215 | retval = usb_register(&kbtab_driver); |
216 | if (retval) | 216 | if (retval) |
217 | goto out; | 217 | goto out; |
218 | info(DRIVER_VERSION ":" DRIVER_DESC); | 218 | printk(KERN_INFO KBUILD_MODNAME ": " DRIVER_VERSION ":" |
219 | DRIVER_DESC "\n"); | ||
219 | out: | 220 | out: |
220 | return retval; | 221 | return retval; |
221 | } | 222 | } |
diff --git a/drivers/input/tablet/wacom_sys.c b/drivers/input/tablet/wacom_sys.c index 5fbc463baf5a..09e227aa0d49 100644 --- a/drivers/input/tablet/wacom_sys.c +++ b/drivers/input/tablet/wacom_sys.c | |||
@@ -385,7 +385,8 @@ static int __init wacom_init(void) | |||
385 | wacom_driver.id_table = get_device_table(); | 385 | wacom_driver.id_table = get_device_table(); |
386 | result = usb_register(&wacom_driver); | 386 | result = usb_register(&wacom_driver); |
387 | if (result == 0) | 387 | if (result == 0) |
388 | info(DRIVER_VERSION ":" DRIVER_DESC); | 388 | printk(KERN_INFO KBUILD_MODNAME ": " DRIVER_VERSION ":" |
389 | DRIVER_DESC "\n"); | ||
389 | return result; | 390 | return result; |
390 | } | 391 | } |
391 | 392 | ||