projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4cec1a3
)
maple: tidy maple_driver code by removing redundant connect/disconnect
author
Adrian McMenamin
<adrian@newgolddream.dyndns.info>
Sun, 15 Jun 2008 19:48:09 +0000
(20:48 +0100)
committer
Paul Mundt
<lethal@linux-sh.org>
Mon, 28 Jul 2008 09:10:30 +0000
(18:10 +0900)
The connect and disconnect functions are unnecessary - everything they do can be
accomplished in the initial probe - so remove them.
Signed-off-by: Adrian McMenamin <adrian@mcmen.demon.co.uk>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
include/linux/maple.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/maple.h
b/include/linux/maple.h
index d31e36ebb436fd25ec087ac135b5fdbef68ff815..523a286bb477d1d6ab1020140aa4390a5b568571 100644
(file)
--- a/
include/linux/maple.h
+++ b/
include/linux/maple.h
@@
-61,8
+61,6
@@
struct maple_device {
struct maple_driver {
unsigned long function;
- int (*connect) (struct maple_device * dev);
- void (*disconnect) (struct maple_device * dev);
struct device_driver drv;
};