From: Adrian McMenamin Date: Sun, 15 Jun 2008 19:48:09 +0000 (+0100) Subject: maple: tidy maple_driver code by removing redundant connect/disconnect X-Git-Tag: v2.6.27-rc1~29^2~53 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=306cfd630a4d121cf4e08b894d8b4c4cf106e57e;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Paul Mundt --- diff --git a/include/linux/maple.h b/include/linux/maple.h index d31e36ebb43..523a286bb47 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; };