From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754185AbcBGPwH (ORCPT ); Sun, 7 Feb 2016 10:52:07 -0500 Received: from mail-pf0-f179.google.com ([209.85.192.179]:33765 "EHLO mail-pf0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754004AbcBGPwF (ORCPT ); Sun, 7 Feb 2016 10:52:05 -0500 Date: Sun, 7 Feb 2016 21:22:00 +0530 From: Viresh Kumar To: "Rafael J. Wysocki" Cc: Linux PM list , Linux Kernel Mailing List , Srinivas Pandruvada , Juri Lelli , Steve Muckle , Saravana Kannan Subject: Re: [PATCH 3/3] cpufreq: governor: Symmetrize cpu_dbs_info initialization and cleanup 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 Content-Disposition: inline In-Reply-To: <3371031.KKUQAzJ7qu@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 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