Commit adfe39cd authored by Jiri Kosina's avatar Jiri Kosina

Revert "char: Fix typo in viotape.c"

This reverts commit a7ccf377.

It changes deprecated code that is being removed in powerpc tree.
Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 7fa87ce7
...@@ -976,7 +976,7 @@ int __init viotap_init(void) ...@@ -976,7 +976,7 @@ int __init viotap_init(void)
tape_class = class_create(THIS_MODULE, "tape"); tape_class = class_create(THIS_MODULE, "tape");
if (IS_ERR(tape_class)) { if (IS_ERR(tape_class)) {
printk(VIOTAPE_KERN_WARN "Unable to allocate class\n"); printk(VIOTAPE_KERN_WARN "Unable to allocat class\n");
ret = PTR_ERR(tape_class); ret = PTR_ERR(tape_class);
goto unreg_chrdev; goto unreg_chrdev;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment