Skip to content
Commit 347987a2 authored by Christian König's avatar Christian König
Browse files

drm/ttm: rename and cleanup ttm_bo_init



Rename ttm_bo_init to ttm_bo_init_validate since that better matches
what the function is actually doing.

Remove the unused size parameter, move the function's kerneldoc to the
implementation and cleanup the whole error handling.

Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220707102453.3633-2-christian.koenig@amd.com


Reviewed-by: default avatarMichael J. Ruhl <michael.j.ruhl@intel.com>
parent 20529e26
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment