From: Al Viro <viro@ftp.linux.org.uk>
Date: Sat, 29 Oct 2005 06:06:59 +0000 (+0100)
Subject: [PATCH] arguments out of order in class_device_create() call (s390)
X-Git-Tag: firefly_0821_release~40855^2~10
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f6b52e85a5d022008fe9f99eab7c9f41f155e3cd;p=firefly-linux-kernel-4.4.55.git

[PATCH] arguments out of order in class_device_create() call (s390)

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
---

diff --git a/drivers/s390/char/vmlogrdr.c b/drivers/s390/char/vmlogrdr.c
index a107fec4457a..b2d75de144c6 100644
--- a/drivers/s390/char/vmlogrdr.c
+++ b/drivers/s390/char/vmlogrdr.c
@@ -787,8 +787,8 @@ vmlogrdr_register_device(struct vmlogrdr_priv_t *priv) {
 		return ret;
 	}
 	priv->class_device = class_device_create(
-				NULL,
 				vmlogrdr_class,
+				NULL,
 				MKDEV(vmlogrdr_major, priv->minor_num),
 				dev,
 				"%s", dev->bus_id );