From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Boyd Subject: Re: [PATCH 11/12] PM / OPP: Simplify dev_pm_opp_get_max_volt_latency() Date: Mon, 9 Jan 2017 14:40:31 -0800 Message-ID: <20170109224031.GS17126@codeaurora.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from smtp.codeaurora.org ([198.145.29.96]:36850 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S941729AbdAIWkd (ORCPT ); Mon, 9 Jan 2017 17:40:33 -0500 Content-Disposition: inline In-Reply-To: Sender: linux-pm-owner@vger.kernel.org List-Id: linux-pm@vger.kernel.org To: Viresh Kumar Cc: Rafael Wysocki , Viresh Kumar , Nishanth Menon , linaro-kernel@lists.linaro.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Vincent Guittot On 12/07, Viresh Kumar wrote: > dev_pm_opp_get_max_volt_latency() calls _find_opp_table() two times > effectively. > > Merge _get_regulator_count() into dev_pm_opp_get_max_volt_latency() to > avoid that. > > Signed-off-by: Viresh Kumar > --- Reviewed-by: Stephen Boyd -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project