]> err.no Git - linux-2.6/commit
[PATCH] Driver core: pass interface to class interface methods
authorDmitry Torokhov <dtor_core@ameritech.net>
Thu, 15 Sep 2005 07:01:36 +0000 (02:01 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 28 Oct 2005 16:52:51 +0000 (09:52 -0700)
commitd8539d81aeee4dbdc0624a798321e822fb2df7ae
tree3fc46e80f2fdec0a7ca714dfa3fb8f08648d3bb8
parent7bd7b091429705eb281d60c553cc643aada8045a
[PATCH] Driver core: pass interface to class interface methods

Driver core: pass interface to class intreface methods

Pass interface as argument to add() and remove() class interface
methods. This way a subsystem can implement generic add/remove
handlers and then call interface-specific ones.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/class.c
drivers/pcmcia/ds.c
drivers/pcmcia/rsrc_nonstatic.c
drivers/pcmcia/socket_sysfs.c
drivers/scsi/sg.c
include/linux/device.h