From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754087AbbFRBET (ORCPT ); Wed, 17 Jun 2015 21:04:19 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:38890 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753997AbbFRBEM (ORCPT ); Wed, 17 Jun 2015 21:04:12 -0400 Message-ID: <5582190A.3040700@codeaurora.org> Date: Wed, 17 Jun 2015 18:04:10 -0700 From: Stephen Boyd User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Axel Lin , Mark Brown CC: Liam Girdwood , "linux-kernel@vger.kernel.org" , Andy Gross Subject: Re: [PATCH] regulator: qcom_spmi: Fix calculating number of voltages References: <1434588639.6621.2.camel@ingics.com> In-Reply-To: <1434588639.6621.2.camel@ingics.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 06/17/2015 05:50 PM, Axel Lin wrote: > n /= range->step_uV + 1; is equivalent to n /= (range->step_uV + 1); > which is wrong. Fix it. > > Signed-off-by: Axel Lin > --- Acked-by: Stephen Boyd -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project