projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6507cce
)
greybus: module: remove unneeded XXX comment about module id values
author
Greg Kroah-Hartman
<greg@kroah.com>
Mon, 27 Oct 2014 10:00:13 +0000
(18:00 +0800)
committer
Greg Kroah-Hartman
<greg@kroah.com>
Mon, 27 Oct 2014 10:00:13 +0000
(18:00 +0800)
We do properly check for duplicate module ids, as fixed in
008d85d90ae1ab31f1f7b80f245f6ee2eb5aed49
"module: don't create duplicate
module ids", so remove the XXX marker.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/greybus/module.c
patch
|
blob
|
history
diff --git
a/drivers/staging/greybus/module.c
b/drivers/staging/greybus/module.c
index
54e8f9e
..
f65aea6
100644
(file)
--- a/
drivers/staging/greybus/module.c
+++ b/
drivers/staging/greybus/module.c
@@
-82,7
+82,7
@@
struct gb_module *gb_module_create(struct greybus_host_device *hd, u8 module_id)
return NULL;
gmod->hd = hd; /* XXX refcount? */
- gmod->module_id = module_id;
/* XXX check for dups */
+ gmod->module_id = module_id;
INIT_LIST_HEAD(&gmod->interfaces);
spin_lock_irq(&gb_modules_lock);