]> www.infradead.org Git - users/hch/misc.git/commit
drm/xe: make gt_remove use devm
authorMatthew Auld <matthew.auld@intel.com>
Wed, 22 May 2024 10:21:56 +0000 (11:21 +0100)
committerMatthew Auld <matthew.auld@intel.com>
Wed, 22 May 2024 12:22:40 +0000 (13:22 +0100)
commitcd506a33b0d9759e0a58556799b1b38650fa3698
tree535c2fb5d922cd6e142bbef9d53a60d029340ede
parent1bd985ff9fc463a72e4ceb65ae6bcb735ce93c25
drm/xe: make gt_remove use devm

No need to hand roll the onion unwind here, just move gt_remove over to
devm which will already have the correct ordering.

Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Andrzej Hajda <andrzej.hajda@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-31-matthew.auld@intel.com
drivers/gpu/drm/xe/xe_device.c
drivers/gpu/drm/xe/xe_gt.c
drivers/gpu/drm/xe/xe_gt.h