From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751920AbcEPEy5 (ORCPT ); Mon, 16 May 2016 00:54:57 -0400 Received: from mail-pf0-f171.google.com ([209.85.192.171]:34638 "EHLO mail-pf0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750729AbcEPEy4 (ORCPT ); Mon, 16 May 2016 00:54:56 -0400 Date: Mon, 16 May 2016 10:24:52 +0530 From: Viresh Kumar To: "Rafael J. Wysocki" Cc: Linux PM list , Srinivas Pandruvada , Linux Kernel Mailing List Subject: Re: [PATCH 5/5] cpufreq: governor: Get rid of governor events Message-ID: <20160516045452.GO9296@vireshk-i7> References: <10707470.yIcqGAzuFY@vostro.rjw.lan> <2126576.ycyxhAHC04@vostro.rjw.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2126576.ycyxhAHC04@vostro.rjw.lan> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 14-05-16, 01:02, Rafael J. Wysocki wrote: > --- linux-pm.orig/drivers/cpufreq/cpufreq_governor.c > -int cpufreq_governor_dbs(struct cpufreq_policy *policy, unsigned int event) > -{ > - if (event == CPUFREQ_GOV_POLICY_INIT) { > - return cpufreq_governor_init(policy); > - } else if (policy->governor_data) { So, we aren't checking this anymore. I am not sure (right now) if this will be a problem. -- viresh