Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752599AbdFUEqy (ORCPT ); Wed, 21 Jun 2017 00:46:54 -0400 Received: from mail-pg0-f54.google.com ([74.125.83.54]:35704 "EHLO mail-pg0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752265AbdFUEqx (ORCPT ); Wed, 21 Jun 2017 00:46:53 -0400 From: Viresh Kumar To: Juri Lelli , Greg Kroah-Hartman Cc: Viresh Kumar , linux-arm-kernel@lists.infradead.org, Catalin Marinas , linux@arm.linux.org.uk, Will Deacon , Vincent Guittot , arnd.bergmann@linaro.org, linux-kernel@vger.kernel.org Subject: [PATCH V2 0/5] arch_topology: Minor cleanups Date: Wed, 21 Jun 2017 10:16:39 +0530 Message-Id: X-Mailer: git-send-email 2.13.0.71.gd7076ec9c9cb Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1098 Lines: 36 Hi Greg, You weren't included in the first [1] version of this series, as it was targeting arch/arm*/ directories then. Here are some cleanups for the arch_topology core. Tested on ARM64 Hikey board by setting following in cpu nodes in DT: capacity-dmips-mhz = <1000>; V1->V2: - based over linux-next/master (to get Juri's recent changes) - More cleanups included. V1 only had the first patch. - Rename of cap_parsing_failed isn't required anymore (as it is localized to a single routine now). -- viresh [1] https://marc.info/?l=linux-arm-kernel&m=149795553024005 Viresh Kumar (5): arch_topology: Get rid of "cap_parsing_done" arch_topology: Don't break lines unnecessarily arch_topology: Covert switch block to if block arch_topology: Return 0 or -ve errors from topology_parse_cpu_capacity() arch_topology: Localize cap_parsing_failed to topology_parse_cpu_capacity() arch/arm/kernel/topology.c | 2 +- drivers/base/arch_topology.c | 78 ++++++++++++++++++++++---------------------- 2 files changed, 40 insertions(+), 40 deletions(-) -- 2.13.0.71.gd7076ec9c9cb