Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1713572rwb; Sun, 14 Aug 2022 10:11:55 -0700 (PDT) X-Google-Smtp-Source: AA6agR5B3Lld23H6oCHcwZnkqPkVRcpHY0t1kSbo/qLuUM6KxXh41q7omTf6/VTuQjEYJ7tc2fpO X-Received: by 2002:a05:6402:2684:b0:43d:9964:d2a0 with SMTP id w4-20020a056402268400b0043d9964d2a0mr11481872edd.250.1660497115507; Sun, 14 Aug 2022 10:11:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1660497115; cv=pass; d=google.com; s=arc-20160816; b=rfxN2tboqIbZ+yRFxL63M3ckBl46832yOjuGRTQ6VmrQNeZq0+bqkt4VsD0p2fZYKz xDREk5lP2+bOnuwLn9vhOagHU/MWWapc9TZRVkTdpJaPNDye9jlEfciInp005rXy07fs y9XBQfmDNhp9/yrW2LUqCb97lEOPyqTRbjrxIEMEyhgCAJX92gGgDgxYi06PZtpy4Lev beKEdsbVsJxRgaLCLfbj9N8jWeK3VyNa6RLdEOz3SdM9hxpvpm0mgrH12la16jwJ/hEf RjfL4rkUYckJEe4SHIfYAoyUoY0ddeuJQnWsnOVigVJjLVfF0LKRPxvWoWcyyQDD/Tk2 ocxQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=wqI6ibsnnowMxQI8rW9A5/Owk7pQgp7fZYXH3DTrxgw=; b=sJxMyCvgdjjgd3W2+HYuGAIGPlV6Wg+xe1uhmUL07Se5OYZDEXxc7eMhi8aVgTCLnG fT9qGQ9WTPyPdjkid+Uthj8TAE8HyNt3MPMrEIklBwkncSQl0PtlWYozwwIRV73a7VpG emjHozrDpMBixkGGewaQsFZeuR+H2coXPKOYU333RPAtdEuJI8bIETEUluuI2nYrv6XV hB6K2VHIF1/ShAQ1PFyknUPu3R5MW9DuLI6tL17H0oQssl9okKA7ZUTl6cYeMgROuIp/ pLMyFgZdW8KMGS+RO0xu3uhSW0s4WeWg7eJF7QAjbyn2yRbEKAMQIenEHRixxBwCWWAC 8QMw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b="zwgFPQC/"; arc=pass (i=1 spf=pass spfdomain=amd.com dmarc=pass fromdomain=amd.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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v23-20020a50d097000000b00435b2a66c73si5694713edd.191.2022.08.14.10.11.28; Sun, 14 Aug 2022 10:11:55 -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; dkim=pass header.i=@amd.com header.s=selector1 header.b="zwgFPQC/"; arc=pass (i=1 spf=pass spfdomain=amd.com dmarc=pass fromdomain=amd.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; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243415AbiHNQtG (ORCPT + 99 others); Sun, 14 Aug 2022 12:49:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53146 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243282AbiHNQsv (ORCPT ); Sun, 14 Aug 2022 12:48:51 -0400 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (mail-bn7nam10on2086.outbound.protection.outlook.com [40.107.92.86]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F7A19F0D2; Sun, 14 Aug 2022 09:38:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lFhscuqlJEt3aIUTDFPa6T3pxA10Nnn40IhNSLpNOqVuGrjyVcrTIH8/pTP2qtSB/hkZoLfwduacCkP24Kvdau2O0bj667PmPiOSELjtA/G0PgzZqa2AxW8UOm92ZE04CAHCqM6t+oVvWmBqBiEKH/vBVP27GXsM9BNF9KiRNqQlvH28tZObLYs1S78qVfScjQ8ObyTpKQA0SfYvpc+jj6nXMiwDfYajmd4AX9iE48VNpcxuC/Ul1gsLnZ//rIbuNBeM9PSG/LRZhgLSKAfNbs9IpqKuyc77zpfM9L19SCakL693hYH+NeRSBZKVR+o9gNVu2GAdWOxL58B2DvLeIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=wqI6ibsnnowMxQI8rW9A5/Owk7pQgp7fZYXH3DTrxgw=; b=SoGzG9mDgqgfKry57G6UffqLIWztzDQrodABhRnpwcnKUsToRFewEvcKzJV6awlCQuD2qHpe5eZSQF5z+yCH4CgvVAI0TuNwChagpiFHfoe1HP9eWyunoasQpAxBSBF1wHT1jd0aY/NZXXHguOA/q8oMXumo8X4ZjFAXo3oretOqf1skXjmilmUv4p5KRCKnj5IFRpUc9PV5QXSc7IHugoHuCeUoA393RZnUdd1129IbbHR10sOPtEnyLanfre7zfB40aXRkwi1KORxHO1oFcQY5Ess7pyExOnHTbxT0BfhJk/eFlwk82rXbHlwLAPQJI1s/SFRY8vZHYd2yRbvBhw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=intel.com smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wqI6ibsnnowMxQI8rW9A5/Owk7pQgp7fZYXH3DTrxgw=; b=zwgFPQC/sxP9aztrl5+o1GVaMTpu/LuHF4FAw6hjdqTcQt3MjcswdnX2VxIcD0FOAwDHYVbNBl+uYrJ6zvczYwZBREPwjRp7KffDYDLXdfc8CCZbMzPgkxvgNOwoRIUkr/FqeHDYSvcUdWW+706WUqljmsAmKEjV3xmRBV5YG2w= Received: from BN0PR10CA0002.namprd10.prod.outlook.com (2603:10b6:408:143::16) by DM6PR12MB3865.namprd12.prod.outlook.com (2603:10b6:5:1c4::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5504.14; Sun, 14 Aug 2022 16:38:02 +0000 Received: from BN8NAM11FT109.eop-nam11.prod.protection.outlook.com (2603:10b6:408:143:cafe::b2) by BN0PR10CA0002.outlook.office365.com (2603:10b6:408:143::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5525.16 via Frontend Transport; Sun, 14 Aug 2022 16:38:01 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by BN8NAM11FT109.mail.protection.outlook.com (10.13.176.221) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5546.7 via Frontend Transport; Sun, 14 Aug 2022 16:38:01 +0000 Received: from aerithdevpyuan.amd.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.28; Sun, 14 Aug 2022 11:37:05 -0500 From: Perry Yuan To: , , CC: , , , , , , , , , , Perry Yuan Subject: [PATCH v5 3/7] cpufreq: amd-pstate: fix white-space Date: Mon, 15 Aug 2022 00:35:44 +0800 Message-ID: <20220814163548.326686-4-Perry.Yuan@amd.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220814163548.326686-1-Perry.Yuan@amd.com> References: <20220814163548.326686-1-Perry.Yuan@amd.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6782ebec-704f-4faf-d7d4-08da7e135aca X-MS-TrafficTypeDiagnostic: DM6PR12MB3865:EE_ X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: xwkljc0UBCunJvZC+6fgsWHPXldLzPDe0AKVaDCuoxktTbyXjL6lOUjkOgZVUHxgA+CYZjA7TwH06sFElqtHGL6pmvwc9eZf0+QuYy2H4jCwWNXRi95FhHlc6yAd4pJD8gqIYek/QdfOm6qIUgzgi1KDd1UraIHSNhY5ALP0BNRUsvQ0u3QdmuHn5uYPcGEdoyBJ9qUVLsoD1e6eNbbWMV5SXsMzHHtPqkhzJuDDRtHbKPvXS7d7ugWf+ZW9T1pxZq84HYo0Ssf8DJXYf6r+sD/lgT3iscsJu58s8+PDCh7USayP/8p4dupcAnw/sNQdIYnZQnOJgzdpzLflJ3ueBs9uVcTDT9NFeH0aIHb+tlsEwqFDzXUDUMmu1lwzFlH42M46P4sOOwQRxn0L3aavrC5/J2mhkQ1p4vVt///zUyxk3BQW8txeHJxQNpz1/3r2T96S4vbrR1wuf2ySsu98Zy/Ikd9lNuGJpYLubVoE9SvQ8J1qBFJgprVklcrV38GefkW2XMheT1uuldRtaTG+PCQTECLKr3pgHAV0VubmNST/EpFNXvpX+Y7+nkMOZQGGdoopnTmNnlnNjF1g14A/yeTLcha5jnZuL6Q34R3h3AY4uNSUkBNFIq6V0tS6vOr/Dw6/05Ct6X6EmytgCFEDL7fxpqYXUz5WOPYm0MS9SY/LwZvrBPnfONoLEJoi+mTcPnSfdzX+gRRpQMlQAxx/PIGwGSY0ZVul9y+p9uG/sP7jz9LLKvzrHsj3y0JA8G8jsCUxlk0t0NQyf1Zj2nKbYWp5c2zMRxuPNd0wKpvWVtgfJNAyRV1nIB3q5roGn9f2CmPkEHngbpcaDBY2eiKXhV9nH3UfI6DwNWNkT0lLtJM= X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230016)(4636009)(346002)(396003)(39860400002)(136003)(376002)(36840700001)(40470700004)(46966006)(26005)(426003)(186003)(16526019)(1076003)(2616005)(86362001)(82740400003)(40460700003)(356005)(336012)(83380400001)(81166007)(47076005)(4744005)(36860700001)(8936002)(5660300002)(82310400005)(2906002)(4326008)(70206006)(8676002)(70586007)(40480700001)(36756003)(316002)(6666004)(41300700001)(7696005)(478600001)(54906003)(110136005)(2101003)(36900700001);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Aug 2022 16:38:01.8442 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6782ebec-704f-4faf-d7d4-08da7e135aca X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT109.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB3865 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Remove the white space and correct mixed-up indentation Acked-by: Viresh Kumar Signed-off-by: Perry Yuan --- drivers/cpufreq/amd-pstate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/cpufreq/amd-pstate.c b/drivers/cpufreq/amd-pstate.c index b31bb5e6cefc..5cdef6638681 100644 --- a/drivers/cpufreq/amd-pstate.c +++ b/drivers/cpufreq/amd-pstate.c @@ -115,7 +115,7 @@ struct amd_cpudata { struct amd_aperf_mperf cur; struct amd_aperf_mperf prev; - u64 freq; + u64 freq; bool boost_supported; }; @@ -651,7 +651,7 @@ static struct cpufreq_driver amd_pstate_driver = { .resume = amd_pstate_cpu_resume, .set_boost = amd_pstate_set_boost, .name = "amd-pstate", - .attr = amd_pstate_attr, + .attr = amd_pstate_attr, }; static int __init amd_pstate_init(void) -- 2.34.1