On Mon, 2009-11-16 at 20:45 +0200, Boaz Harrosh wrote: > + dev_set_drvdata(&oud->class_dev, oud); This is incredibly minor, but since the device is now embedded in oud, you can simply cast out to get the containing structure: oud = container_of(dev, struct osd_uld_device, class_dev); It's not worth redoing the patch set over, but it is worth remembering for the future. James -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html