提交 654d121a 编写于 作者: M Michal Marek 提交者: Greg Kroah-Hartman

usb: u132-hcd: Drop __TIME__ usage

The kernel already prints its build timestamp during boot, no need to
repeat it in random drivers and produce different object files each
time.

Cc: Tony Olech <tony.olech@elandigitalsystems.com>
Cc: linux-usb@vger.kernel.org
Signed-off-by: NMichal Marek <mmarek@suse.cz>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 3482f00d
...@@ -3230,8 +3230,7 @@ static int __init u132_hcd_init(void) ...@@ -3230,8 +3230,7 @@ static int __init u132_hcd_init(void)
mutex_init(&u132_module_lock); mutex_init(&u132_module_lock);
if (usb_disabled()) if (usb_disabled())
return -ENODEV; return -ENODEV;
printk(KERN_INFO "driver %s built at %s on %s\n", hcd_name, __TIME__, printk(KERN_INFO "driver %s\n", hcd_name);
__DATE__);
workqueue = create_singlethread_workqueue("u132"); workqueue = create_singlethread_workqueue("u132");
retval = platform_driver_register(&u132_platform_driver); retval = platform_driver_register(&u132_platform_driver);
return retval; return retval;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册