Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755113AbaLHNbi (ORCPT ); Mon, 8 Dec 2014 08:31:38 -0500 Received: from mail-oi0-f52.google.com ([209.85.218.52]:63093 "EHLO mail-oi0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752927AbaLHNbg (ORCPT ); Mon, 8 Dec 2014 08:31:36 -0500 MIME-Version: 1.0 In-Reply-To: <20141208125033.GB2980@e104805> References: <1417806260-9264-1-git-send-email-javi.merino@arm.com> <1417806260-9264-7-git-send-email-javi.merino@arm.com> <20141208125033.GB2980@e104805> Date: Mon, 8 Dec 2014 19:01:35 +0530 Message-ID: Subject: Re: [RFC PATCH v6 6/9] thermal: cpu_cooling: implement the power cooling device API From: Viresh Kumar To: Javi Merino Cc: Linux PM list , "linux-kernel@vger.kernel.org" , Punit Agrawal , Mark Brown , Zhang Rui , Eduardo Valentin Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8 December 2014 at 18:20, Javi Merino wrote: > Sigh. Care to share them (privately I guess)? Sure, you will get that in a separate (private) mail.. > Is this loop pointless? I seem to recall that it was needed but I > forgot the details. If you think it is, I can remove it. Yes it is pointless. The CPUs you are iterating on, share clock lines and so they will have same set of OPPs. Just do this for the cpu we are registering the cooling device. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/