From mboxrd@z Thu Jan 1 00:00:00 1970 From: Viresh Kumar Subject: Re: [PATCH 3/3] cpufreq: governor: Symmetrize cpu_dbs_info initialization and cleanup Date: Sun, 7 Feb 2016 21:22:00 +0530 Message-ID: <20160207155200.GH3808@vireshk> References: <3705929.bslqXH980s@vostro.rjw.lan> <9008098.QDD8C89zDx@vostro.rjw.lan> <2998470.K7oslgfuja@vostro.rjw.lan> <3371031.KKUQAzJ7qu@vostro.rjw.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-pf0-f179.google.com ([209.85.192.179]:34602 "EHLO mail-pf0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753354AbcBGPwF (ORCPT ); Sun, 7 Feb 2016 10:52:05 -0500 Received: by mail-pf0-f179.google.com with SMTP id o185so96174429pfb.1 for ; Sun, 07 Feb 2016 07:52:04 -0800 (PST) Content-Disposition: inline In-Reply-To: <3371031.KKUQAzJ7qu@vostro.rjw.lan> Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: "Rafael J. Wysocki" Cc: Linux PM list , Linux Kernel Mailing List , Srinivas Pandruvada , Juri Lelli , Steve Muckle , Saravana Kannan On 07-02-16, 16:25, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Make the initialization of struct cpu_dbs_info objects in > alloc_policy_dbs_info() and the code that cleans them up in > free_policy_dbs_info() more symmetrical. In particular, > set/clear the update_util.func field in those functions along > with the policy_dbs field. > > Signed-off-by: Rafael J. Wysocki > --- > drivers/cpufreq/cpufreq_governor.c | 21 +++++++++++++-------- > 1 file changed, 13 insertions(+), 8 deletions(-) Acked-by: Viresh Kumar -- viresh