Messages in this thread Patch in this message |  | | | Subject | [PATCH] maple: tidy maple_driver code by removing redundant connect/disconnect | | From | Adrian McMenamin <> | | Date | Sun, 15 Jun 2008 20:48:09 +0100 |
| |
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> --- diff --git a/include/linux/maple.h b/include/linux/maple.h index 39a125a..d49e2d3 100644 --- a/include/linux/maple.h +++ b/include/linux/maple.h @@ -62,8 +62,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; };
|  |