projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
driver core: class: remove module * from class_create()
[linux-block.git]
/
drivers
/
char
/
virtio_console.c
diff --git
a/drivers/char/virtio_console.c
b/drivers/char/virtio_console.c
index d5ac4d955bc8ca5c3464a77bc73b818db534c65c..b65c809a4e978d41ba80bfab5b6fab1c5f9a2b7b 100644
(file)
--- a/
drivers/char/virtio_console.c
+++ b/
drivers/char/virtio_console.c
@@
-2244,7
+2244,7
@@
static int __init virtio_console_init(void)
{
int err;
- pdrvdata.class = class_create(
THIS_MODULE,
"virtio-ports");
+ pdrvdata.class = class_create("virtio-ports");
if (IS_ERR(pdrvdata.class)) {
err = PTR_ERR(pdrvdata.class);
pr_err("Error %d creating virtio-ports class\n", err);