From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751523AbbL1DSY (ORCPT ); Sun, 27 Dec 2015 22:18:24 -0500 Received: from mail-pa0-f54.google.com ([209.85.220.54]:36157 "EHLO mail-pa0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750894AbbL1DSS (ORCPT ); Sun, 27 Dec 2015 22:18:18 -0500 Date: Mon, 28 Dec 2015 08:48:15 +0530 From: Viresh Kumar To: "Rafael J. Wysocki" Cc: Linux PM list , Linux Kernel Mailing List , Srinivas Pandruvada Subject: Re: [PATCH 2/3] cpufreq: acpi-cpufreq: Simplify boost-related code Message-ID: <20151228031815.GF3598@ubuntu> References: <2196419.fjWAQbI2Nm@vostro.rjw.lan> <725597086.REkFdzhlmI@vostro.rjw.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <725597086.REkFdzhlmI@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-12-15, 00:25, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > The store_boost() routine is only used by store_cpb(), so move > the code from it directly to that function and rename _store_boost() > to set_boost() to make its name reflect the name of the driver > callback pointing to it. > > Signed-off-by: Rafael J. Wysocki > --- > drivers/cpufreq/acpi-cpufreq.c | 21 ++++++++------------- > 1 file changed, 8 insertions(+), 13 deletions(-) Acked-by: Viresh Kumar -- viresh