drm/amdgpu: Minor checkpatch fix
Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
6894305c97
commit
7cbbc745dc
@@ -358,7 +358,8 @@ uint32_t amdgpu_mm_rreg(struct amdgpu_device *adev, uint32_t reg,
|
|||||||
*
|
*
|
||||||
* Returns the 8 bit value from the offset specified.
|
* Returns the 8 bit value from the offset specified.
|
||||||
*/
|
*/
|
||||||
uint8_t amdgpu_mm_rreg8(struct amdgpu_device *adev, uint32_t offset) {
|
uint8_t amdgpu_mm_rreg8(struct amdgpu_device *adev, uint32_t offset)
|
||||||
|
{
|
||||||
if (adev->in_pci_err_recovery)
|
if (adev->in_pci_err_recovery)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
@@ -382,7 +383,8 @@ uint8_t amdgpu_mm_rreg8(struct amdgpu_device *adev, uint32_t offset) {
|
|||||||
*
|
*
|
||||||
* Writes the value specified to the offset specified.
|
* Writes the value specified to the offset specified.
|
||||||
*/
|
*/
|
||||||
void amdgpu_mm_wreg8(struct amdgpu_device *adev, uint32_t offset, uint8_t value) {
|
void amdgpu_mm_wreg8(struct amdgpu_device *adev, uint32_t offset, uint8_t value)
|
||||||
|
{
|
||||||
if (adev->in_pci_err_recovery)
|
if (adev->in_pci_err_recovery)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user