mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-13 20:16:58 +00:00
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 | ||