Skip to content

Commit

Permalink
maple: tidy maple_driver code by removing redundant connect/disconnect
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian McMenamin authored and Paul Mundt committed Jul 28, 2008
1 parent 4cec1a3 commit 306cfd6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions include/linux/maple.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

Expand Down

0 comments on commit 306cfd6

Please sign in to comment.