maple: tidy maple_driver code by removing redundant connect/disconnect
PATCH 1/1 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.
---
include/linux/maple.h +0 -2
@@ -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; };
Paul Mundt
AppliedQuoted 4 lines · Adrian McMenamin
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 <[email protected]>
Applied, thanks.
Quoted 9 lines · Paul Mundt
Quoted 5 lines · Adrian McMenamin
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 <[email protected]>Applied, thanks.
Paul,
Just to note that this (http://lkml.org/lkml/2008/6/15/122) will break the keyboard driver unless this (http://lkml.org/lkml/2008/6/15/121) is also applied.
I haven't heard back from Dmitry on the keyboard patch yet.
Adrian
Quoted 10 lines · Adrian McMenamin
Quoted 9 lines · Paul Mundt
Quoted 5 lines · Adrian McMenamin
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 <[email protected]>Applied, thanks.
Quoted 8 lines
Paul,
Just to note that this (http://lkml.org/lkml/2008/6/15/122) will break the keyboard driver unless this (http://lkml.org/lkml/2008/6/15/121) is also applied.
I haven't heard back from Dmitry on the keyboard patch yet.
Yes, I'm aware of that. This should fix itself in linux-next once it is merged in the input tree, and I don't intend on pushing my changes until that's in place, so we don't break bisection.