From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753937AbbG0Om5 (ORCPT ); Mon, 27 Jul 2015 10:42:57 -0400 Received: from mail-pd0-f178.google.com ([209.85.192.178]:34683 "EHLO mail-pd0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752818AbbG0Omz (ORCPT ); Mon, 27 Jul 2015 10:42:55 -0400 Date: Mon, 27 Jul 2015 20:12:50 +0530 From: Viresh Kumar To: "Rafael J. Wysocki" Cc: Linux PM list , Linux Kernel Mailing List , Russell King - ARM Linux Subject: Re: [PATCH 1/7] cpufreq: Rework two functions related to CPU offline Message-ID: <20150727144250.GC18535@linux> References: <7868353.pEStq1MJ2a@vostro.rjw.lan> <3874727.Jpay9zgokc@vostro.rjw.lan> <31290788.SNH4WFh3YK@vostro.rjw.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <31290788.SNH4WFh3YK@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:03, 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 > and make them void as their return values are ignored. > > Signed-off-by: Rafael J. Wysocki > --- > drivers/cpufreq/cpufreq.c | 32 ++++++++++++-------------------- > 1 file changed, 12 insertions(+), 20 deletions(-) Acked-by: Viresh Kumar -- viresh