staging: vme: get rid of struct vme_device_id and slots
authorManohar Vanga <manohar.vanga@cern.ch>
Mon, 26 Sep 2011 09:27:17 +0000 (11:27 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 17 Oct 2011 22:43:13 +0000 (15:43 -0700)
commita916a391d3e19593a104a8c3c4779a3084f1ca5b
tree916dee131f0cb4914c73415a58b9652ee8881136
parent5d6abf379d73efe390488e8edba972af4e93cb1c
staging: vme: get rid of struct vme_device_id and slots

Previously, the device-driver matching mechanism depended on the
vme_device_id structure due to the need for a bind table per driver.
This method of matching is no longer used so this patch merges the
fields of struct vme_device_id into struct vme_dev. Since this also
renders the slot field meaningless, it has also been removed in this
patch.

Signed-off-by: Manohar Vanga <manohar.vanga@cern.ch>
Cc: Martyn Welch <martyn.welch@ge.com>
Reviewed-by: Emilio G. Cota <cota@braap.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/vme/devices/vme_user.c
drivers/staging/vme/vme.c
drivers/staging/vme/vme.h
drivers/staging/vme/vme_api.txt