Commit adf0125a authored by Lee Jones's avatar Lee Jones Committed by Alex Deucher

drm/amd/amdgpu/amdgpu_acp: Fix doc-rot issues pertaining to a couple of 'handle' params

Fixes the following W=1 kernel build warning(s):

 drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c:183: warning: Function parameter or member 'handle' not described in 'acp_hw_init'
 drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c:183: warning: Excess function parameter 'adev' description in 'acp_hw_init'
 drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c:412: warning: Function parameter or member 'handle' not described in 'acp_hw_fini'
 drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c:412: warning: Excess function parameter 'adev' description in 'acp_hw_fini'

Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: "Christian König" <christian.koenig@amd.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: amd-gfx@lists.freedesktop.org
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 5141154d
...@@ -176,7 +176,7 @@ static struct device *get_mfd_cell_dev(const char *device_name, int r) ...@@ -176,7 +176,7 @@ static struct device *get_mfd_cell_dev(const char *device_name, int r)
/** /**
* acp_hw_init - start and test ACP block * acp_hw_init - start and test ACP block
* *
* @adev: amdgpu_device pointer * @handle: handle used to pass amdgpu_device pointer
* *
*/ */
static int acp_hw_init(void *handle) static int acp_hw_init(void *handle)
...@@ -405,7 +405,7 @@ static int acp_hw_init(void *handle) ...@@ -405,7 +405,7 @@ static int acp_hw_init(void *handle)
/** /**
* acp_hw_fini - stop the hardware block * acp_hw_fini - stop the hardware block
* *
* @adev: amdgpu_device pointer * @handle: handle used to pass amdgpu_device pointer
* *
*/ */
static int acp_hw_fini(void *handle) static int acp_hw_fini(void *handle)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment