Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=306cfd...
Commit: 306cfd630a4d121cf4e08b894d8b4c4cf106e57e
Parent: 4cec1a37ba7d9dce6ed5d8259b95272100a98b1f
Author: Adrian McMenamin <adrian@newgolddream.dyndns.info>
AuthorDate: Sun Jun 15 20:48:09 2008 +0100
Committer: Paul Mundt <lethal@linux-sh.org>
CommitDate: Mon Jul 28 18:10:30 2008 +0900
maple: tidy maple_driver code by removing redundant connect/disconnect
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 | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/include/linux/maple.h b/include/linux/maple.h
index d31e36e..523a286 100644
--- 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;
};
--