mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-25 21:24:08 +08:00
89345d5177
Simplify mdev_{un}register_device by requiring the caller to pass in a structure allocate as part of the parent device structure. This removes the need for a list of parents and the separate mdev_parent refcount as we can simplify rely on the reference to the parent device. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Reviewed-by: Tony Krowiak <akrowiak@linux.ibm.com> Reviewed-by: Kevin Tian <kevin.tian@intel.com> Reviewed-by: Kirti Wankhede <kwankhede@nvidia.com> Reviewed-by: Eric Farman <farman@linux.ibm.com> Link: https://lore.kernel.org/r/20220923092652.100656-5-hch@lst.de Signed-off-by: Alex Williamson <alex.williamson@redhat.com> |
||
---|---|---|
.. | ||
3270.ChangeLog | ||
3270.rst | ||
cds.rst | ||
common_io.rst | ||
config3270.sh | ||
driver-model.rst | ||
features.rst | ||
index.rst | ||
monreader.rst | ||
pci.rst | ||
qeth.rst | ||
s390dbf.rst | ||
text_files.rst | ||
vfio-ap-locking.rst | ||
vfio-ap.rst | ||
vfio-ccw.rst | ||
zfcpdump.rst |