Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp5325271ybv; Tue, 11 Feb 2020 13:32:55 -0800 (PST) X-Google-Smtp-Source: APXvYqzckFRpxvD/5aPLM0dsvYDNiM2TpVou/cbydPV1N/2OGUIkk8gIhyaImveHbcsNwI0mFV5/ X-Received: by 2002:a9d:7d87:: with SMTP id j7mr6535403otn.159.1581456775091; Tue, 11 Feb 2020 13:32:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581456775; cv=none; d=google.com; s=arc-20160816; b=g+NN61ILOpt17nQXhGfMkfzkJHde3MrA4ulol+f88JJeiYVJ5q1c6JvAdkGlnyklE5 Ryo2wlP3s3z96YO0lEsjTtgklkjM5Z2gieaB4JVD139j0BJTJxmBLWyP69fUDKJLaLRk hS2ydM6PmCePysAQlrSqQ0Uihab9dX5h+aCn3I8y23Dw+hAtYroFYbSgPzDWdky714kj 3CkoKoh06U/kbHOZOyUUsSnks8rHTbEjXfL/Fct4w+Gpozm6rSCeKyqk9h59oxQw/wNB Pi0HbrR4UiZq396hsvYABM5hiYQ9Oed2sEX5Zh5PZArWrmRFgdLh2Uvyss5ZfJEvFsJS Mp2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=XstBRCAevgMfRxKzhlZ4Tb1Zwdbof6vBbRZLVjBMku4=; b=qwfppDeqaLkzuBJA7uvx2HrwyEFJD4aEWTGGUP4nKSXZn8rz4i6Vc1ey852ws8X8Td 4hyYuvS4jul8qAyn5H5Ex+ZrzTN/TNj0QOrDr4TYuUchCFgMZ/ps9R42/NVusptrY/kG TdXCx0ZRm6uA7ylX9TmS0sg4SEQjLA8zO86l23JvfT6+VCErwturnHgccw/2zY/yVa98 8FvybdjcaFjsyVT0y+mEhUB+DRwlxtHUuzoO+utAknSf/GRvl8iCP3syeufiZ1QjrTVK ka/1Z0J0ySinQ2UbZMlQwp25R1b4weTpgxLVYfJmq2ywgGiYe3bGx+GCxUA/uGS+yC+r Kxrg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 12si2285666oir.69.2020.02.11.13.32.42; Tue, 11 Feb 2020 13:32:55 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729793AbgBKSP3 (ORCPT + 99 others); Tue, 11 Feb 2020 13:15:29 -0500 Received: from foss.arm.com ([217.140.110.172]:51726 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729693AbgBKSP1 (ORCPT ); Tue, 11 Feb 2020 13:15:27 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id C153CFEC; Tue, 11 Feb 2020 10:15:26 -0800 (PST) Received: from dell3630.arm.com (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 85D723F68E; Tue, 11 Feb 2020 10:15:25 -0800 (PST) From: Dietmar Eggemann To: Sudeep Holla , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Vincent Guittot , Juri Lelli Subject: [PATCH 2/2] drivers base/arch_topology: Reformat topology_get_[cpu/freq]_scale() function name Date: Tue, 11 Feb 2020 19:15:15 +0100 Message-Id: <20200211181515.32570-3-dietmar.eggemann@arm.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200211181515.32570-1-dietmar.eggemann@arm.com> References: <20200211181515.32570-1-dietmar.eggemann@arm.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The storage class and inline definition as well as the return type, function name and parameter list fit all into one line. Signed-off-by: Dietmar Eggemann Reviewed-by: Sudeep Holla --- include/linux/arch_topology.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/include/linux/arch_topology.h b/include/linux/arch_topology.h index f4b1d4fd7efb..c507e9ddd909 100644 --- a/include/linux/arch_topology.h +++ b/include/linux/arch_topology.h @@ -16,8 +16,7 @@ bool topology_parse_cpu_capacity(struct device_node *cpu_node, int cpu); DECLARE_PER_CPU(unsigned long, cpu_scale); -static inline -unsigned long topology_get_cpu_scale(int cpu) +static inline unsigned long topology_get_cpu_scale(int cpu) { return per_cpu(cpu_scale, cpu); } @@ -26,8 +25,7 @@ void topology_set_cpu_scale(unsigned int cpu, unsigned long capacity); DECLARE_PER_CPU(unsigned long, freq_scale); -static inline -unsigned long topology_get_freq_scale(int cpu) +static inline unsigned long topology_get_freq_scale(int cpu) { return per_cpu(freq_scale, cpu); } -- 2.17.1