]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/xe/device: move flr to devm
authorMatthew Auld <matthew.auld@intel.com>
Wed, 22 May 2024 10:21:52 +0000 (11:21 +0100)
committerMatthew Auld <matthew.auld@intel.com>
Wed, 22 May 2024 12:22:39 +0000 (13:22 +0100)
commitbc54f42c0efaa81b42b53ce5f2423f7778d82516
tree2c45b0fd9ae15d84f978fe142e65d21eeacff79a
parentbbc9651fe9f4c081e9931e2b3f6a6c5b2d05a942
drm/xe/device: move flr to devm

Should be called when driver is removed, not when this particular driver
instance is destroyed.

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Reviewed-by: Andrzej Hajda <andrzej.hajda@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240522102143.128069-27-matthew.auld@intel.com
drivers/gpu/drm/xe/xe_device.c