Commit 306cfd63 authored by Adrian McMenamin's avatar Adrian McMenamin Committed by Paul Mundt
Browse files

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: default avatarAdrian McMenamin <adrian@mcmen.demon.co.uk>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 4cec1a37
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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;
};