From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752418AbbGWGkR (ORCPT ); Thu, 23 Jul 2015 02:40:17 -0400 Received: from mail-pd0-f176.google.com ([209.85.192.176]:36763 "EHLO mail-pd0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752294AbbGWGkG (ORCPT ); Thu, 23 Jul 2015 02:40:06 -0400 Date: Thu, 23 Jul 2015 12:10:00 +0530 From: Viresh Kumar To: "Rafael J. Wysocki" Cc: Linux PM list , Linux Kernel Mailing List , Russell King - ARM Linux Subject: Re: [PATCH 1/2] cpufreq: Rename two functions related to CPU offline Message-ID: <20150723064000.GG5322@linux> References: <7868353.pEStq1MJ2a@vostro.rjw.lan> <12623174.AEREjEhPIr@vostro.rjw.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <12623174.AEREjEhPIr@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 23-07-15, 02:01, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Since __cpufreq_remove_dev_prepare() and __cpufreq_remove_dev_finish() > are about CPU offline rather than about CPU removal, rename them to > cpufreq_offline_prepare() and cpufreq_offline_finish(), respectively. > > Also change their argument from a struct device pointer to a CPU > number, because they use the CPU number only internally anyway. > > Signed-off-by: Rafael J. Wysocki > --- > drivers/cpufreq/cpufreq.c | 14 ++++++-------- > 1 file changed, 6 insertions(+), 8 deletions(-) Acked-by: Viresh Kumar -- viresh