diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2008-08-14 12:37:34 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-10-17 17:41:13 -0400 |
commit | fd3f1917e345d852ef9ae36178719f4e639f70ae (patch) | |
tree | cecafd0b978ede1735aa7e3eb0e032ccf8b63edc /drivers/usb/misc/cypress_cy7c63.c | |
parent | 69a85942ff2df8e1ee0a3b6afe8b1d85dce58333 (diff) |
USB: remove err() macro from usb misc drivers
USB should not be having it's own printk macros, so remove err() and
use the system-wide standard of dev_err() wherever possible. In the
few places that will not work out, use a basic printk().
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/misc/cypress_cy7c63.c')
-rw-r--r-- | drivers/usb/misc/cypress_cy7c63.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/misc/cypress_cy7c63.c b/drivers/usb/misc/cypress_cy7c63.c index 937940404b7a..5720bfef6a38 100644 --- a/drivers/usb/misc/cypress_cy7c63.c +++ b/drivers/usb/misc/cypress_cy7c63.c | |||
@@ -278,9 +278,9 @@ static int __init cypress_init(void) | |||
278 | 278 | ||
279 | /* register this driver with the USB subsystem */ | 279 | /* register this driver with the USB subsystem */ |
280 | result = usb_register(&cypress_driver); | 280 | result = usb_register(&cypress_driver); |
281 | if (result) { | 281 | if (result) |
282 | err("Function usb_register failed! Error number: %d\n", result); | 282 | printk(KERN_ERR KBUILD_MODNAME ": usb_register failed! " |
283 | } | 283 | "Error number: %d\n", result); |
284 | 284 | ||
285 | return result; | 285 | return result; |
286 | } | 286 | } |