projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
staging: most: fix error comparison
[cascardo/linux.git]
/
drivers
/
staging
/
most
/
mostcore
/
core.c
diff --git
a/drivers/staging/most/mostcore/core.c
b/drivers/staging/most/mostcore/core.c
index
09a5a1a
..
e4797fd
100644
(file)
--- a/
drivers/staging/most/mostcore/core.c
+++ b/
drivers/staging/most/mostcore/core.c
@@
-1869,7
+1869,7
@@
static int __init most_init(void)
class_glue_dir =
device_create(most_class, NULL, 0, NULL, "mostcore");
- if (
!class_glue_dir
)
+ if (
IS_ERR(class_glue_dir)
)
goto exit_driver;
most_aim_kset =