From patchwork Mon Oct 15 13:48:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartlomiej Zolnierkiewicz X-Patchwork-Id: 10641893 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 345DC157A for ; Mon, 15 Oct 2018 13:51:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2374A29D65 for ; Mon, 15 Oct 2018 13:51:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 218DD29D7B; Mon, 15 Oct 2018 13:51:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FORGED_MUA_MOZILLA,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 95E1F29D65 for ; Mon, 15 Oct 2018 13:51:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:References:Message-Id:MIME-Version:Date :Subject:From:To:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: List-Owner; bh=JD8ryHxp04HmA2atHod7DixtkZ8ZlQERQrmR2R8ZrFI=; b=S+zGAKa/67jSm3 oYidvlRd68ltHnsIx2yiNYtTL5JrVnynHNTtlqUyMDZECJGNqgdxbMSkpp03BPDMaAJ/PB1mjLVso S5gRrEHCrayZfzz+b8grL/Grgm2GSaGhw/ZfmpEDBYkNJUxWNGKkm5eodW04Gbcw2icqcsIRZyU97 u92eBUEuL1gFzci/uHJUPNmTBGgWReujrI8rK33K6wfeQDvbck54PAOCXfLQ6/X8b6M1xkRnGyUcE PLXK74wOOljDBlp+FT5AKuaT3sprlSUL2ZVD6YCb0GkdxkHsIYhYjJ0gyOJjo85bgsPzOilCvwUWm TMluuws2zDZXiyFB1L5w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gC3H6-0005zc-UN; Mon, 15 Oct 2018 13:51:13 +0000 Received: from mailout2.w1.samsung.com ([210.118.77.12]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gC3Ej-0003df-5W for linux-arm-kernel@lists.infradead.org; Mon, 15 Oct 2018 13:50:45 +0000 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20181015134830euoutp0273f9d9e48c34b8c3655ef9cbfccfcf06~dzFRVwJnt1721617216euoutp02O for ; Mon, 15 Oct 2018 13:48:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20181015134830euoutp0273f9d9e48c34b8c3655ef9cbfccfcf06~dzFRVwJnt1721617216euoutp02O DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1539611310; bh=o+UJwnEGSVj5nDvDcq/nUsBmyU8g+sKDDuEq8AWJp0k=; h=To:Cc:From:Subject:Date:References:From; b=XZTCprIkQ3wFr6uJDb/uNVlYIZFrmyley8KYOAfTB52LWT1X3DsT3sxYTJ0SlTRkg dhNS9pVV9XZfnKP8NYKjaCyStd0PT4cKxUT1LHzY4p2AF0c3CE8E9y0pQD9AT+8KlB 6e7eu4jKCWYk13UHSDlOAi75UTaWLs+M9zesN3eA= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20181015134829eucas1p2966e79f9a8bffc21e110a7ac3c333261~dzFQujqeJ0728507285eucas1p22; Mon, 15 Oct 2018 13:48:29 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id 13.0F.04441.DAA94CB5; Mon, 15 Oct 2018 14:48:29 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20181015134828eucas1p1b0b3287b5a330591e0976a3a83edbf11~dzFPt-ZL_1531815318eucas1p1t; Mon, 15 Oct 2018 13:48:28 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20181015134828eusmtrp2158118e35eae721c4662dba60302fccb~dzFPtBNnD0288802888eusmtrp2b; Mon, 15 Oct 2018 13:48:28 +0000 (GMT) X-AuditID: cbfec7f2-5c9ff70000001159-ac-5bc49aad836b Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 07.BB.04128.CAA94CB5; Mon, 15 Oct 2018 14:48:28 +0100 (BST) Received: from [106.120.53.102] (unknown [106.120.53.102]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20181015134828eusmtip1ede1a4b2699a704378ad1a3e0003e65b~dzFPYHdlW0055300553eusmtip1m; Mon, 15 Oct 2018 13:48:28 +0000 (GMT) To: Krzysztof Kozlowski From: Bartlomiej Zolnierkiewicz Subject: [PATCH] ARM: EXYNOS: remove no longer needed s3c_pm_check_*() calls Date: Mon, 15 Oct 2018 15:48:27 +0200 User-Agent: Mozilla/5.0 (X11; Lin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cpLzFFi42I5/e/4Xd01s45EG2y/ImmxccZ6Vov+x6+Z Lc6f38BusenxNVaLy7vmsFnMOL+PyeLQ1L2MDuwel69dZPbYtKqTzWPzknqPvi2rGD0+b5IL YI3SsynKLy1JVcjILy6xVYo2tDDSM7S00DMysdQzNDaPtTIyVdK3s0lJzcksSy3St0vQy9i+ 5QBjwSTuiv+LmlkbGJdwdjFyckgImEi8+3uctYuRi0NIYCmjxL/OdYxdjBxACRmJ4+vLIGqE Jf5c62KDqHnLKLGiawsjSEJEQFPi+t/vYM3MAq8YJfZMPA+WYBOwkpjYvgrMFhbwkbj35Swz iM0rYCdx6OwLsDiLgKpE/4SDLCC2qECExK2HHSwQNYISJ2c+AbOZBdQl/sy7xAxhy0tsfzuH eQIj/ywkZbOQlM1CUraAkXkVo0hqaXFuem6xkV5xYm5xaV66XnJ+7iZGYExsO/Zzyw7GrnfB hxgFOBiVeHgFeI5EC7EmlhVX5h5ilOBgVhLhlQg5FC3Em5JYWZValB9fVJqTWnyI0RTo8InM UqLJ+cB4zSuJNzQ1NLewNDQ3Njc2s1AS5z1vUBklJJCeWJKanZpakFoE08fEwSnVwGi042Hh +p+CvXv0Xqut3Wyw+5bJxWXObwSqhCQnbvnnseNAod9X5eN+/K6XvzYLCDk25dTcO/HrrPq9 0w6Fs6P63+xoTpy4lpNd9UGTAbM42/m7BWevcgdPOC6quU0kUH6Hx8rMEwnzbMrFOFYfXqIb f3wR+2brD/ZS/+6ZHvO8cjwo95lScqcSS3FGoqEWc1FxIgC6z77MnwIAAA== Message-Id: <20181015134828eucas1p1b0b3287b5a330591e0976a3a83edbf11~dzFPt-ZL_1531815318eucas1p1t@eucas1p1.samsung.com> X-CMS-MailID: 20181015134828eucas1p1b0b3287b5a330591e0976a3a83edbf11 X-Msg-Generator: CA X-RootMTR: 20181015134828eucas1p1b0b3287b5a330591e0976a3a83edbf11 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20181015134828eucas1p1b0b3287b5a330591e0976a3a83edbf11 References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181015_064845_623922_D46548DA X-CRM114-Status: GOOD ( 14.33 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-samsung-soc@vger.kernel.org, Bartlomiej Zolnierkiewicz , linux-kernel@vger.kernel.org, Russell King , Kukjin Kim , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Since commit 6862fdf2201a ("ARM: samsung: Limit SAMSUNG_PM_CHECK config option to non-Exynos platforms") s3c_pm_check_*() calls are redundant and can be removed. Signed-off-by: Bartlomiej Zolnierkiewicz --- arch/arm/mach-exynos/suspend.c | 7 ------- 1 file changed, 7 deletions(-) Index: b/arch/arm/mach-exynos/suspend.c =================================================================== --- a/arch/arm/mach-exynos/suspend.c 2018-10-09 15:58:35.495122851 +0200 +++ b/arch/arm/mach-exynos/suspend.c 2018-10-15 15:08:52.420184244 +0200 @@ -508,7 +508,6 @@ static int exynos_suspend_enter(suspend_ if (pm_data->pm_prepare) pm_data->pm_prepare(); flush_cache_all(); - s3c_pm_check_store(); ret = call_firmware_op(suspend); if (ret == -ENOSYS) @@ -523,8 +522,6 @@ static int exynos_suspend_enter(suspend_ S3C_PMDBG("%s: wakeup stat: %08x\n", __func__, pmu_raw_readl(S5P_WAKEUP_STAT)); - s3c_pm_check_restore(); - S3C_PMDBG("%s: resuming the system...\n", __func__); return 0; @@ -548,8 +545,6 @@ static int exynos_suspend_prepare(void) return ret; } - s3c_pm_check_prepare(); - return 0; } @@ -557,8 +552,6 @@ static void exynos_suspend_finish(void) { int ret; - s3c_pm_check_cleanup(); - ret = regulator_suspend_finish(); if (ret) pr_warn("Failed to resume regulators from suspend (%d)\n", ret);