From: Jiri Kosina Date: Fri, 16 Mar 2012 11:08:51 +0000 (+0100) Subject: Revert "char: Fix typo in viotape.c" X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=adfe39cd9195c35811e062578c4107db49d75436;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git Revert "char: Fix typo in viotape.c" This reverts commit a7ccf3775219bfcb2e0df73619abbe13abc6408f. It changes deprecated code that is being removed in powerpc tree. Reported-by: Stephen Rothwell Signed-off-by: Jiri Kosina --- diff --git a/drivers/char/viotape.c b/drivers/char/viotape.c index 8b34c65511eb..ad6e64a2912d 100644 --- a/drivers/char/viotape.c +++ b/drivers/char/viotape.c @@ -976,7 +976,7 @@ int __init viotap_init(void) tape_class = class_create(THIS_MODULE, "tape"); 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); goto unreg_chrdev; }