Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp261303imu; Mon, 10 Dec 2018 21:15:20 -0800 (PST) X-Google-Smtp-Source: AFSGD/VkF3IuZ4mOh0WeiMdFNHDvAhvioE106c24GZZuxEMFefUdD5Ki9l4/2mapWQrJba9HZcGI X-Received: by 2002:a65:50c1:: with SMTP id s1mr13072675pgp.350.1544505320420; Mon, 10 Dec 2018 21:15:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544505320; cv=none; d=google.com; s=arc-20160816; b=T/qf+uUv9CvPXAqhTKTck+WflylsIulxGcHtKt4nvVwDpHA5sP7hcwwkosCbB18EcK 5IG4dC1BroHtH6+Z1+3TL6HYIOTzseXjv/twSjqQbSFoH9NAT21nGAFkmaxliJV1omln Hx6eQzSLbaUf+Of8YZfdDQm0+KqXHFkg66JI5fyh9ZhC6u/SGCKMov7CTDq9A4ltTB8W 8JVgW5oZGBqgmb5nGWobkbE+7eVa3zNXtZSFsjkS0h2jiPFbC8qs1PEqrQQ44JmArZFO +Kz69tndn79essFnYi42bGI+AjYjkfdIyizrY7WhRS2dGjgC+SmV8v9oIGfMZG6QA/pW vcTA== 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:to:from :reply-to:subject:mime-version:dkim-signature:dkim-filter; bh=JRYjBeYdAr7qUL3TVlzuVljrhnrxHB4n8DMePESxSno=; b=MKEeROlX4r87ZjZrmmmU7/yUwJlJkBhS3qGReehhdr9QUbo5TP0/mrP60Pebc2dlhM ANFshxqPILryTBrNr67UjwWx0eP1QhbhCDrLrVJmgqQv/tFq9A2zHdVMLPP1Bt9zg1yD zRTs/RKGKGjEP/BTg/3juJp4nL4zdkMJC757y0orLeUUpEBcnWYxKz2zyGk36iv4Aa0S bj1YuLu6aoHzAuhHXdk6/oaV0tN76+09NODxL8DmH3aW6WZ+feQDNeYnDRqOi/Y1gAof UZrv9UGJcT1A8+xKxRlHbd0ugFcf06llq+cK+GEg+nxmpMDN7Ki6hznIvzb8LrPIcKfE WkLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=UgycLoZ2; 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 t4si12563190pfj.183.2018.12.10.21.15.05; Mon, 10 Dec 2018 21:15:20 -0800 (PST) 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=UgycLoZ2; 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 S1729452AbeLKCIt (ORCPT + 99 others); Mon, 10 Dec 2018 21:08:49 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:11051 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726607AbeLKCIs (ORCPT ); Mon, 10 Dec 2018 21:08:48 -0500 Received: from epcas1p3.samsung.com (unknown [182.195.41.47]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20181211020846epoutp015b37f38f6f8d02c11b56c30f501f20e1~vJTmi4BTm1016710167epoutp01k for ; Tue, 11 Dec 2018 02:08:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20181211020846epoutp015b37f38f6f8d02c11b56c30f501f20e1~vJTmi4BTm1016710167epoutp01k DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1544494126; bh=JRYjBeYdAr7qUL3TVlzuVljrhnrxHB4n8DMePESxSno=; h=Subject:Reply-To:From:To:CC:In-Reply-To:Date:References:From; b=UgycLoZ2WBNqwYg4EekVmDp5DcP8PFz4wMFm9ggziEdYIhRsTK2ncol47EcEiQ2hO aOUV0EqC9ak/e3pYYXOoTIXxSwGJcGc0qAdj3L83wCLIciUW1150C3BnZLVE9eQdop 5XEnbxgUHQufG2X5xYlg0rYasQdRs2qk9unrbHSQ= Received: from epsmges1p5.samsung.com (unknown [182.195.40.158]) by epcas1p1.samsung.com (KnoxPortal) with ESMTP id 20181211020843epcas1p13abbf3ec41f015f540f1c82417697d0e~vJTjS8gko0174601746epcas1p1v; Tue, 11 Dec 2018 02:08:43 +0000 (GMT) X-AuditID: b6c32a39-ff9ff70000000fe0-e7-5c0f1c2bcb06 Received: from epcas1p4.samsung.com ( [182.195.41.48]) by epsmges1p5.samsung.com (Symantec Messaging Gateway) with SMTP id 9A.5B.04064.B2C1F0C5; Tue, 11 Dec 2018 11:08:43 +0900 (KST) Mime-Version: 1.0 Subject: RE: [PATCH v3 1/5] devfreq: refactor set_target frequency function Reply-To: myungjoo.ham@samsung.com From: MyungJoo Ham To: Lukasz Luba , "linux-arm-kernel@lists.infradead.org" , "linux-samsung-soc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-pm@vger.kernel.org" , "devicetree@vger.kernel.org" CC: "tjakobi@math.uni-bielefeld.de" , Kyungmin Park , Chanwoo Choi , "rjw@rjwysocki.net" , "len.brown@intel.com" , "pavel@ucw.cz" , "gregkh@linuxfoundation.org" , "keescook@chromium.org" , "anton@enomsg.org" , "ccross@android.com" , "tony.luck@intel.com" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "kgene@kernel.org" , "krzk@kernel.org" , Marek Szyprowski , Bartlomiej Zolnierkiewicz X-Priority: 3 X-Content-Kind-Code: NORMAL In-Reply-To: <1544007956-28889-2-git-send-email-l.luba@partner.samsung.com> X-Drm-Type: N,general X-Msg-Generator: Mail X-Msg-Type: PERSONAL X-Reply-Demand: N Message-ID: <20181211020842epcms1p759449289d0574d47847d2df4a1f8d482@epcms1p7> Date: Tue, 11 Dec 2018 11:08:42 +0900 X-CMS-MailID: 20181211020842epcms1p759449289d0574d47847d2df4a1f8d482 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" CMS-TYPE: 101P X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpkl+LIzCtJLcpLzFFi42LZdljTQFdbhj/GoPEVq8XBrZoWG2esZ7XY vvEbq8X1L89ZLeYfOcdq0bx4PZvFme5ci/7Hr5ktzp/fwG5xtukNu8WtBhmLWVP2MllsenyN 1eLyrjlsFp97jzBazDi/j8li7ZG77BZLr19ksrh76ihQ++lLrBate4+wW7St/sBq8ebCPRYH cY9tu7exeqyZt4bRY3bDRRaPCf2fGD0W73nJ5LFpVSebx/65a9g9Ni+p9/h3jN3j4Ls9TB5b rrazePRtWcXosWL1d3aPz5vkAviism0yUhNTUosUUvOS81My89JtlbyD453jTc0MDHUNLS3M lRTyEnNTbZVcfAJ03TJzgN5XUihLzCkFCgUkFhcr6dvZFOWXlqQqZOQXl9gqpRak5BRYFugV J+YWl+al6yXn51oZGhgYmQIVJmRnHLm4ibXgMHPFlbYDLA2M/5m6GDk5JARMJD5NX8DSxcjF ISSwg1HictcHxi5GDg5eAUGJvzuEQUxhAW+J/kdhIOVCAkoSDTf3MYPYwgL6Eh0PtjGC2GwC uhJbN9wFGyMi0MgssWTPF1YQh1lgMpvErGcNbBDLeCVmtD9lgbClJbYv3wrWzQm04O7fzVA1 ohI3V79lh7HfH5vPCGGLSLTeO8sMYQtKPPi5GyouJfHk7UKo+nqJ658XMYEslhCYwCjx+8Z/ qIS+xKMrs8EW8Ar4SjTN/A7WzCKgKrH++np2kC8lBFwkGqZzgoSZBeQltr+dwwwSZhbQlFi/ Sx8izCfx7msPK8wrO+Y9gYahmsSh3UugNslInJ6+EOpMD4k1//ewQ8L2MqPE6QcT2Scwys9C BO8sJNtmIWxbwMi8ilEstaA4Nz212LDAFDlGNzGCk7+W5Q7GY+d8DjEKcDAq8fBWtPHFCLEm lhVX5h5ilOBgVhLh1U3jjRHiTUmsrEotyo8vKs1JLT7EaAr080RmKdHkfGBmyiuJNzQ1MjY2 tjAxNDM1NFQS530iNTdaSCA9sSQ1OzW1ILUIpo+Jg1OqgVHj2DwHkYXu+i9sAzc+UkqMfHdr R/3OM03Tg15ecJunH3U05rrVy1mxm48H5V5KadBcVavw/9cqfnGGCVwipwL2NU8yWi7z0Vv2 3KMvdjevhtskr2r5nPazcnvze+tnRzm2Wsd84Gi/3zpnz1t3hnbPI9abWo3Kr3qU/Ss04hEq ue6u9veslK4SS3FGoqEWc1FxIgCXedRSFAQAAA== DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20181205110619eucas1p2eb8553c60b4e23b07c76f02b3867827c References: <1544007956-28889-2-git-send-email-l.luba@partner.samsung.com> <1544007956-28889-1-git-send-email-l.luba@partner.samsung.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > The refactoring is needed for the new client in devfreq: suspend. > To avoid code duplication, move it to the new local function > devfreq_set_target. > > Suggested-by: Tobias Jakobi > Suggested-by: Chanwoo Choi > Reviewed-by: Chanwoo Choi > Signed-off-by: Lukasz Luba > --- Acked-by: MyungJoo Ham