projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
862fe87
)
Staging: ipack: return proper value in match() function
author
Samuel Iglesias Gonsalvez
<
[email protected]
>
Wed, 23 May 2012 13:54:41 +0000
(15:54 +0200)
committer
Greg Kroah-Hartman
<
[email protected]
>
Thu, 7 Jun 2012 05:14:07 +0000
(14:14 +0900)
It should return the same value given by the match function of the ipack_driver
that has been called.
Returning 0 here, means that the match has failed and it could be succeed.
Signed-off-by: Samuel Iglesias Gonsalvez <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/staging/ipack/ipack.c
patch
|
blob
|
history
diff --git
a/drivers/staging/ipack/ipack.c
b/drivers/staging/ipack/ipack.c
index 2b4fa51bf167a81d67ec59a719dd5e2bd906d564..e6dc21a47a0ad40ebd6e8c4e0e22e8d956024e3a 100644
(file)
--- a/
drivers/staging/ipack/ipack.c
+++ b/
drivers/staging/ipack/ipack.c
@@
-48,7
+48,7
@@
static int ipack_bus_match(struct device *device, struct device_driver *driver)
if (ret)
dev->driver = drv;
- return
0
;
+ return
ret
;
}
static int ipack_bus_probe(struct device *device)