Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1963271imm; Sun, 27 May 2018 21:52:26 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoSMKpLYF/QcnX/rPWP5d3man1+nMTiQ84aSMomKlCIt0nexqbt5YTAVO6CcvAEcjrfJRgQ X-Received: by 2002:a65:52cc:: with SMTP id z12-v6mr9304146pgp.126.1527483146850; Sun, 27 May 2018 21:52:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527483146; cv=none; d=google.com; s=arc-20160816; b=ljjWmQS5ZNrFyV9FnYYd0rilgkr2jsRpyqiI9mIhNQ24T0mOtwPSGE93x4HegwZnh8 ZdhBVfrDNh64yIaE/R0isS5DqTe502dmB5mvzI4elFd/9bGCpdbMsGu7ReCf3d17iRrW qVQVUUDeopD95g1Ou1dDeRhpiWdLOmLxk2gipHUIcHr0nGU6ULiHvWzNU4FQnWJ9+jPy VxlJNlln1dJk445uCGsgXSBgjpC0dszfBgZ/c1G5tK2tLlRgPQ3uFHmDPkWLUh96va69 d0ZeMVRFbFbZtVfpgvbJDh2Pld2SZuPblI5prPlV0Ca6T2WkACrWW8bHBxW83veQjrF9 9ilQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:dlp-filter:cms-type :content-transfer-encoding:date:message-id:in-reply-to:cc:from :reply-to:subject:mime-version:to:dkim-signature:dkim-filter :arc-authentication-results; bh=5U1BX2bqVzvwNPW3lLSl6rjYwyDWb8mBP55nA/s46Ps=; b=l+Q8R7HcsQ51A6cjeL1Z55GA0CQ8YwGxuI91DnGPolPFehJ8P38RcYg4Mx1TlZtKfh zmQi0vQ+QAGFHebmcWu7CYDAPeHcF6+vK4Or1TmzGxiIHDS5JLUcE8s4nGdTNZgsUjZ9 DvL995Mp39ipYsIIZTCfqakvW5CrhJmDUr08b9qc/w9A1FGOzEtPPJ8oK7HFTHFCH8Mk rLcsSwOp74pOyOOeG/SK6L9XJw5ctO58thcj9c51A4egCt5fmP4l5wZHW6X108TVwBG7 B+kzAgPZRy7mK2AiioJf7Oq5J8jKzR1845zAeX5AFjEK6B/vpZDIwsjgjoawczJLteZ8 gouw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=T0Ov+3/0; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u8-v6si28970885plh.22.2018.05.27.21.51.57; Sun, 27 May 2018 21:52:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=T0Ov+3/0; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752939AbeE1Eva (ORCPT + 99 others); Mon, 28 May 2018 00:51:30 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:54427 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751068AbeE1Ev1 (ORCPT ); Mon, 28 May 2018 00:51:27 -0400 Received: from epcas1p1.samsung.com (unknown [182.195.41.45]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20180528045125epoutp01c84e7dd933a37f2f07cc449bcc877641~ytcXsmZSm1786317863epoutp01P for ; Mon, 28 May 2018 04:51:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20180528045125epoutp01c84e7dd933a37f2f07cc449bcc877641~ytcXsmZSm1786317863epoutp01P DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1527483085; bh=5U1BX2bqVzvwNPW3lLSl6rjYwyDWb8mBP55nA/s46Ps=; h=To:Subject:Reply-To:From:CC:In-Reply-To:Date:References:From; b=T0Ov+3/06DA8C9DyjsYeBvskzaQybhCG+5JGbdeOC8HLOqEdZ/9tqGe+eAp4yqGnE u0BFvkmuKtK+Fp4/5LJ581YjtK5n/F+WIN+jBhztIALfc9QZgY25Bu8VW9dO2kmwsa slXBwKCiAJa0jwmJLQXjoZNj+7Zcsd8+EJfLVE7Y= Received: from epsmges1p1.samsung.com (unknown [182.195.40.156]) by epcas1p3.samsung.com (KnoxPortal) with ESMTP id 20180528045121epcas1p321838af3906bc3796993795b79b9b66b~ytcUkDWGv1023210232epcas1p3w; Mon, 28 May 2018 04:51:21 +0000 (GMT) X-AuditID: b6c32a35-ba1ff70000000fe2-92-5b0b8ac94899 Received: from epcas1p2.samsung.com ( [182.195.41.46]) by epsmges1p1.samsung.com (Symantec Messaging Gateway) with SMTP id B5.0A.04066.9CA8B0B5; Mon, 28 May 2018 13:51:21 +0900 (KST) To: undisclosed-recipients:; Mime-Version: 1.0 Subject: RE: [PATCH 03/11] PM / devfreq: Remove check for df->max_freq == 0 from governors Reply-To: myungjoo.ham@samsung.com From: MyungJoo Ham CC: Kyungmin Park , Chanwoo Choi , Arnd Bergmann , Greg Kroah-Hartman , Rob Herring , Mark Rutland , "linux-pm@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Brian Norris , Douglas Anderson , Matthias Kaehlcke X-Priority: 3 X-Content-Kind-Code: NORMAL In-Reply-To: <20180525203043.249193-4-mka@chromium.org> X-Drm-Type: N,general X-Msg-Generator: Mail X-Msg-Type: PERSONAL X-Reply-Demand: N Message-ID: <20180528045121epcms1p2f7bf3a2f366a85364753e47858cad632@epcms1p2> Date: Mon, 28 May 2018 13:51:21 +0900 X-CMS-MailID: 20180528045121epcms1p2f7bf3a2f366a85364753e47858cad632 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" X-CPGSPASS: Y X-CPGSPASS: Y CMS-TYPE: 101P X-Brightmail-Tracker: H4sIAAAAAAAAA11Sa0hTYRju8+xyXC0+p9WH3eYJJY1Nz3TuFBlBFwYZKUE/mrVO+qHSbu5M 6YK07C4Z3aBwmulW3kapmC6ji9MCE63MZpGGlCFBJqEFJWbbPFL063t43ud9n+f9eElC1iyK JHNNNmw1sQZKJBG0dMQqFV3F83UJNYPJzPSlp2Km6du4kPnsjWUGJkeFTEVnr5DpudUuYo47 74iYnqIvYuZVW5mImSjpBMzNgZchzETDR8CcfNAp3ijVuq+7gXbq1yWgddhfCrRNdWdF2kfl brH2fHMd0E40rUgT78brczCbha1ybMo0Z+WaslOobTv1m/Tq5ARaQa9lNJTcxBpxCrU5NU2x NdfgT0vJC1hDvp9KYzmOit+w3mrOt2F5jpmzpVA6mlYp6QSNUqXyv4l71qnUfsk+nNNbeU9s uS042HAx3Q6GiWIQSiKYhDr6WkExkJAy6AFosL4PBAoRcBkqd3wUFgOSlMIwNO0JD8BwmIFq p1cEFDJIIfvbh8Ex4TAenRluCXaKoALdbRgSBEYS0CVArsYZMOslRddOfxLM4qWotfpukA+F GvShxBEyyy9Cb+vHxHN4/GkF3xuBTr7v4TOHoeGf93k+Eo2MVfL6o2hgoiokYIzgBYCm3szw hXj0od8hCmAp3I5OlLiDgwQwGnV53vGBNiP3UFFwKAFXotaxMiKwMAFj0Z22+Ln89sYp8f+Y gAvR1+/nhHO85/oIv0sM8t538fplqPtqJZ9fiyr724kLIKr07++W/mNc+tf4BiDqwGJs4YzZ mKMttJJjjVy+KVuZaTY2geDFxqk94EpvqhdAElALpPYpiU4mZAu4Q0YvQCRBRUglCj8lzWIP HcZWs96ab8CcF6j9+18kIhdlmv33b7LpabUqMTGRSaKT1TRNLZGe0vzeLYPZrA0fwNiCrXN9 IWRopB20jaypibr8qT28Gh9d8k6XvNqn6awq3Fv7rOL8vo4j3WHqGvnaXS9cccu/PenL8z0+ kzQ+6OztL3hsiImJSZekFsp0pyd/4YUzy/dbfryZ51Pvd9Y7Wxq7PEe2XH0+meVIKcp1bahr KNw72rWjkBrN6PbpqzZ9Xuo89tqXsCNvVXQ7JeByWDqOsHLsH/V9xPjHAwAA DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20180525203122epcas3p42a494949f50aa933355840b7e46bb0fe References: <20180525203043.249193-4-mka@chromium.org> <20180525203043.249193-1-mka@chromium.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >Commit "PM / devfreq: Fix handling of min/max_freq == 0" ensures that >df->max_freq is not 0, remove unnecessary checks. > >Signed-off-by: Matthias Kaehlcke >--- > drivers/devfreq/governor_performance.c | 5 +---- > drivers/devfreq/governor_simpleondemand.c | 7 +++---- > 2 files changed, 4 insertions(+), 8 deletions(-) > >diff --git a/drivers/devfreq/governor_performance.c b/drivers/devfreq/governor_performance.c >index 4d23ecfbd948..1c990cb45098 100644 > Thanks! Acked-by: MyungJoo Ham