summaryrefslogtreecommitdiff
path: root/drivers/gnss/core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gnss/core.c')
-rw-r--r--drivers/gnss/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gnss/core.c b/drivers/gnss/core.c
index 77a4b280c552..48f2ee0f78c4 100644
--- a/drivers/gnss/core.c
+++ b/drivers/gnss/core.c
@@ -387,7 +387,7 @@ static int __init gnss_module_init(void)
return ret;
}
- gnss_class = class_create(THIS_MODULE, "gnss");
+ gnss_class = class_create("gnss");
if (IS_ERR(gnss_class)) {
ret = PTR_ERR(gnss_class);
pr_err("failed to create class: %d\n", ret);