Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp616021rwo; Wed, 2 Aug 2023 01:02:09 -0700 (PDT) X-Google-Smtp-Source: APBJJlFqp7S2RT9R40wKkBRzK9ajx9X05x2BkfvuEABTal9xVMTQ4zwppuviBnepLqNwcTL3f+Qx X-Received: by 2002:a17:90a:b015:b0:268:1489:959e with SMTP id x21-20020a17090ab01500b002681489959emr12611268pjq.33.1690963329499; Wed, 02 Aug 2023 01:02:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690963329; cv=none; d=google.com; s=arc-20160816; b=cSFjPDoI27xWipEgBybe7OBU/1w83DsUzeMiz9M8DN6JUJAWAllzNMjb5xGZ0Isnka 7jeKsNPsZgcjDhLBuGLdh2keQYHfCCz3J28K8lPkskFUEGiYp5YbPkZo/cxtUGkh9HrS UI/bM6922tdJOdaeHxfIioxdqUVA/oH1nt7Q8LQUJfDasVX2XU4hdvhwfJi9tZL4ED/S XIrbTZ24COKK1JgggF550l0HwwPzft05oswjvFpQHl5jtXHsXJUgo0OlHjpb3o5NGhmg cueu8bX62gPbe6Nhc2q0dlaLvO/1ChCa0bT+XKvFibAz/4v+2QBfvQ8OzbUydC7CNDpa Gxbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=gPP9rPnZU3AWNFoeRPQoNHVSfrsnTCeLfFNe9d6MuV8=; fh=M7zDVNG5wYj+Ni7TE5shUh1U8LRNWB+keJIKRth6hag=; b=RLT+aax51AcA9FEuE4b+fhCRP9wPLzX74ziygc9Q/kLl2dOGe2j01hekvyiZn/o9fM eFHGDcCagdwg+U3iwbGYsdIll41I5EVIDTv1ZALdrXGKGLZq+G8zzqzZfbWWoU/i7Nju NMPUz/86xurY3XIQH8QjCBV6Qct60guDFTJq5Wmz/PpBf5OTvdynoOcc7ShidQf6sq+3 +p43aNXlnk6Qt5ZciNUf2ql/YD1NEpsaOW/fhhlS3W60JqLBWrk8Rox2H8J7ZVa8zOCf 2WXSLleI1uDUdMI4HdIdysbLxV9e0YHF6U32Rn/lsr+pvmf0fsjLz2X6qxTKcvNM9qth Bahg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s61-20020a17090a2f4300b00263fa42fdcbsi804075pjd.107.2023.08.02.01.01.57; Wed, 02 Aug 2023 01:02:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231414AbjHBHXw (ORCPT + 99 others); Wed, 2 Aug 2023 03:23:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230457AbjHBHXk (ORCPT ); Wed, 2 Aug 2023 03:23:40 -0400 Received: from out28-169.mail.aliyun.com (out28-169.mail.aliyun.com [115.124.28.169]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BBAEC359E for ; Wed, 2 Aug 2023 00:23:27 -0700 (PDT) X-Alimail-AntiSpam: AC=CONTINUE;BC=0.5205414|-1;CH=green;DM=|CONTINUE|false|;DS=CONTINUE|ham_alarm|0.190381-0.000830124-0.808789;FP=0|0|0|0|0|-1|-1|-1;HT=ay29a033018047192;MF=sunran001@208suo.com;NM=1;PH=DS;RN=5;RT=5;SR=0;TI=SMTPD_---.U6axboy_1690960997; Received: from localhost.localdomain(mailfrom:sunran001@208suo.com fp:SMTPD_---.U6axboy_1690960997) by smtp.aliyun-inc.com; Wed, 02 Aug 2023 15:23:18 +0800 From: Ran Sun To: alexander.deucher@amd.com Cc: amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Ran Sun Subject: [PATCH] drm/amdgpu: Clean up errors in amdgpu_atombios.h Date: Wed, 2 Aug 2023 07:23:16 +0000 Message-Id: <20230802072316.12985-1-sunran001@208suo.com> X-Mailer: git-send-email 2.17.1 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the following errors reported by checkpatch: ERROR: open brace '{' following struct go on the same line Signed-off-by: Ran Sun --- drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h index b639a80ee3fc..0811474e8fd3 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.h @@ -89,8 +89,7 @@ struct atom_memory_info { #define MAX_AC_TIMING_ENTRIES 16 -struct atom_memory_clock_range_table -{ +struct atom_memory_clock_range_table { u8 num_entries; u8 rsv[3]; u32 mclk[MAX_AC_TIMING_ENTRIES]; @@ -118,14 +117,12 @@ struct atom_mc_reg_table { #define MAX_VOLTAGE_ENTRIES 32 -struct atom_voltage_table_entry -{ +struct atom_voltage_table_entry { u16 value; u32 smio_low; }; -struct atom_voltage_table -{ +struct atom_voltage_table { u32 count; u32 mask_low; u32 phase_delay; -- 2.17.1