From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753527AbbG0O6W (ORCPT ); Mon, 27 Jul 2015 10:58:22 -0400 Received: from mail-pa0-f51.google.com ([209.85.220.51]:33787 "EHLO mail-pa0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753318AbbG0O6T (ORCPT ); Mon, 27 Jul 2015 10:58:19 -0400 Date: Mon, 27 Jul 2015 20:28:14 +0530 From: Viresh Kumar To: "Rafael J. Wysocki" Cc: Linux PM list , Linux Kernel Mailing List , Russell King - ARM Linux Subject: Re: [PATCH 6/7] cpufreq: Pass CPU number to cpufreq_policy_alloc() Message-ID: <20150727145814.GH18535@linux> References: <7868353.pEStq1MJ2a@vostro.rjw.lan> <3874727.Jpay9zgokc@vostro.rjw.lan> <1673228.0qyRKCRMJQ@vostro.rjw.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1673228.0qyRKCRMJQ@vostro.rjw.lan> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 27-07-15, 16:07, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Change cpufreq_policy_alloc() to take a CPU number instead of a CPU > device pointer as its argument, as it is the only function called by > cpufreq_add_dev() taking a device pointer argument at this point. > > That will allow us to split the CPU online part from cpufreq_add_dev() > more cleanly going forward. > > Signed-off-by: Rafael J. Wysocki > --- > drivers/cpufreq/cpufreq.c | 12 ++++++++---- > 1 file changed, 8 insertions(+), 4 deletions(-) Acked-by: Viresh Kumar -- viresh