aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
diff options
context:
space:
mode:
authorMatthew Brost <[email protected]>2025-07-02 23:28:31 +0000
committerMatthew Brost <[email protected]>2025-07-03 17:14:56 +0000
commit86c947b363f003153768d879ee15f8358cbf29c5 (patch)
treea0b8b3af8fe5ee896ee582c8fc1b0ad7663e06c7 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
parentdrm/dp: Add documentation for luminance_set (diff)
downloadkernel-86c947b363f003153768d879ee15f8358cbf29c5.tar.gz
kernel-86c947b363f003153768d879ee15f8358cbf29c5.zip
drm: Simplify drmm_alloc_ordered_workqueue return
Rather than returning ERR_PTR or NULL on failure, replace the NULL return with ERR_PTR(-ENOMEM). This simplifies error handling at the caller. While here, add kernel documentation for drmm_alloc_ordered_workqueue. Cc: Louis Chauvet <[email protected]> Signed-off-by: Matthew Brost <[email protected]> Reviewed-by: Louis Chauvet <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions