[SCSI] ses: fix up functionality after class_device->device conversion
authorJames Bottomley <James.Bottomley@HansenPartnership.com>
Sat, 15 Mar 2008 18:01:40 +0000 (13:01 -0500)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Tue, 22 Apr 2008 20:16:29 +0000 (15:16 -0500)
commitcb6b7f40630f94126233194847a86bf5501fb63c
tree7b0ed4675ea38329fb6d4a017154febee3208e54
parent7d15d6a4dc08dfd456d834e33ef6c1d798fb2edc
[SCSI] ses: fix up functionality after class_device->device conversion

ses uses an unusual two level class hierarchy which broke in this
conversion.  Fix it up still with a two level hierarchy, but this time
let the ses device manage the links to and from the real device in the
enclosure.

Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/misc/enclosure.c