summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/radeon/atom-bits.h
diff options
context:
space:
mode:
authorGuoHua Chen <chenguohua_716@163.com>2024-01-11 10:52:46 +0300
committerAlex Deucher <alexander.deucher@amd.com>2024-01-18 23:39:02 +0300
commit007cded6014f43a68661fbd50d4e89078e922872 (patch)
tree5562e85ad6e6790186837c6524c32691a9135f50 /drivers/gpu/drm/radeon/atom-bits.h
parentb8cbb7defe7676b3ad0703d18a0eb3bc8ae48d53 (diff)
downloadlinux-007cded6014f43a68661fbd50d4e89078e922872.tar.xz
drm/radeon: Clean up errors in ni_dpm.c
Fix the following errors reported by checkpatch: ERROR: space prohibited before that ',' (ctx:WxV) ERROR: space required after that ',' (ctx:WxV) Signed-off-by: GuoHua Chen <chenguohua_716@163.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/atom-bits.h')
-rw-r--r--drivers/gpu/drm/radeon/atom-bits.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/radeon/atom-bits.h b/drivers/gpu/drm/radeon/atom-bits.h
index e8fae5c77514..2bfd6d0ff050 100644
--- a/drivers/gpu/drm/radeon/atom-bits.h
+++ b/drivers/gpu/drm/radeon/atom-bits.h
@@ -33,7 +33,7 @@ static inline uint8_t get_u8(void *bios, int ptr)
#define CU8(ptr) get_u8(ctx->bios, (ptr))
static inline uint16_t get_u16(void *bios, int ptr)
{
- return get_u8(bios ,ptr)|(((uint16_t)get_u8(bios, ptr+1))<<8);
+ return get_u8(bios, ptr)|(((uint16_t)get_u8(bios, ptr+1))<<8);
}
#define U16(ptr) get_u16(ctx->ctx->bios, (ptr))
#define CU16(ptr) get_u16(ctx->bios, (ptr))