From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1425155AbcBRFiZ (ORCPT ); Thu, 18 Feb 2016 00:38:25 -0500 Received: from mail-pf0-f180.google.com ([209.85.192.180]:34649 "EHLO mail-pf0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1425067AbcBRFiX (ORCPT ); Thu, 18 Feb 2016 00:38:23 -0500 Date: Thu, 18 Feb 2016 11:08:11 +0530 From: Viresh Kumar To: "Rafael J. Wysocki" Cc: Linux PM list , Linux Kernel Mailing List Subject: Re: [PATCH 5/12] cpufreq: ondemand: Drop one more callback from struct od_ops Message-ID: <20160218053811.GK2610@vireshk-i7> References: <2938006.67J0esUvOA@vostro.rjw.lan> <4653996.VftfsaIoaX@vostro.rjw.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4653996.VftfsaIoaX@vostro.rjw.lan> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 18-02-16, 02:24, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > The ->powersave_bias_init_cpu callback in struct od_ops is only used > in one place and that invocation may be replaced with a direct call > to the function pointed to by that callback, so change the code > accordingly and drop the callback. > > Signed-off-by: Rafael J. Wysocki > --- > drivers/cpufreq/cpufreq_governor.h | 1 - > drivers/cpufreq/cpufreq_ondemand.c | 3 +-- > 2 files changed, 1 insertion(+), 3 deletions(-) Acked-by: Viresh Kumar -- viresh