drm/radeon: Clean up errors in radeon_atpx_handler.c
authorGuoHua Chen <chenguohua_716@163.com>
Thu, 11 Jan 2024 07:36:44 +0000 (07:36 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Jan 2024 20:38:46 +0000 (15:38 -0500)
Fix the following errors reported by checkpatch:

ERROR: open brace '{' following function definitions go on the next line

Signed-off-by: GuoHua Chen <chenguohua_716@163.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_atpx_handler.c

index 595354e3ce0b2b07ee42e183f4023bb6be23741d..f557535c1d7b3e5f5351ccf4509c2ad1371a5948 100644 (file)
@@ -61,19 +61,23 @@ struct atpx_mux {
        u16 mux;
 } __packed;
 
-bool radeon_has_atpx(void) {
+bool radeon_has_atpx(void)
+{
        return radeon_atpx_priv.atpx_detected;
 }
 
-bool radeon_has_atpx_dgpu_power_cntl(void) {
+bool radeon_has_atpx_dgpu_power_cntl(void)
+{
        return radeon_atpx_priv.atpx.functions.power_cntl;
 }
 
-bool radeon_is_atpx_hybrid(void) {
+bool radeon_is_atpx_hybrid(void)
+{
        return radeon_atpx_priv.atpx.is_hybrid;
 }
 
-bool radeon_atpx_dgpu_req_power_for_displays(void) {
+bool radeon_atpx_dgpu_req_power_for_displays(void)
+{
        return radeon_atpx_priv.atpx.dgpu_req_power_for_displays;
 }