summaryrefslogtreecommitdiffstats
path: root/drivers/char/xillybus/xillybus_class.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/xillybus/xillybus_class.c')
-rw-r--r--drivers/char/xillybus/xillybus_class.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/xillybus/xillybus_class.c b/drivers/char/xillybus/xillybus_class.c
index e9a288e61c15..89926fe9d813 100644
--- a/drivers/char/xillybus/xillybus_class.c
+++ b/drivers/char/xillybus/xillybus_class.c
@@ -242,7 +242,7 @@ EXPORT_SYMBOL(xillybus_find_inode);
static int __init xillybus_class_init(void)
{
- xillybus_class = class_create(THIS_MODULE, "xillybus");
+ xillybus_class = class_create("xillybus");
if (IS_ERR(xillybus_class)) {
pr_warn("Failed to register xillybus class\n");