commit | 97a9ea848016fef86e4a42dc6a65f4384eed32cd | [log] [tgz] |
---|---|---|
author | Bart Van Assche <bart.vanassche@sandisk.com> | Fri Jan 20 13:04:13 2017 -0800 |
committer | Doug Ledford <dledford@redhat.com> | Tue Jan 24 12:23:35 2017 -0500 |
tree | 29739706ac1a5718bd7ba49fd4ffaae0d9dce779 | |
parent | 5f0cb80134a0035829bf7580126ea371c4aefec5 [diff] |
IB/core: Initialize ib_device.dev.parent earlier Move the ib_device.dev.parent initialization code from ib_device_register_sysfs() to ib_register_device(). Additionally, allow HBA drivers to set ib_device.dev.parent without setting ib_device.dma_device. This is the first step towards removing ib_device.dma_device. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Signed-off-by: Doug Ledford <dledford@redhat.com>