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: 10641885 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 0D75915E2 for ; Mon, 15 Oct 2018 13:48:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EC1DD2923D for ; Mon, 15 Oct 2018 13:48:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E03CC29241; Mon, 15 Oct 2018 13:48:32 +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=-5.7 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FORGED_MUA_MOZILLA,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3F8052923D for ; Mon, 15 Oct 2018 13:48:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726525AbeJOVdy (ORCPT ); Mon, 15 Oct 2018 17:33:54 -0400 Received: from mailout1.w1.samsung.com ([210.118.77.11]:56462 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726422AbeJOVdx (ORCPT ); Mon, 15 Oct 2018 17:33:53 -0400 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20181015134830euoutp01adc4e2828ba37128e5ed2ca2b2168689~dzFRZfE6I1688816888euoutp01D for ; Mon, 15 Oct 2018 13:48:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20181015134830euoutp01adc4e2828ba37128e5ed2ca2b2168689~dzFRZfE6I1688816888euoutp01D 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 Cc: Kukjin Kim , Russell King , Bartlomiej Zolnierkiewicz , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org 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; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA01Se0hTcRTmt3vvdl1euU7Fk1nKKKPCFwSNih4gtMA/JArDkXXLy9R0yq5a RpAYvvEJpi6zmq8SY75QZ5i2nCt8jKloED5Si7C08IFY2dr1Jvnfd77zfb/zncOPxGSPCC8y RpPEajVMnFwsxdv7N4b9X+j6VEE5JZSiudxAKArnvmIKq7VJomiZGycUo12VYkW59ZVIYSrt RmckytFxG6ZsacgRK1tr7ikL2hqQcqVlXxgRIT0ZxcbFpLDawFPXpNEdbb0osWTXbbv+PpGG apxykRMJ9FGY/JUl4rGMfoagfdojF0kdeBXBqGWCEIoVBGN5NvG2Y2nTQgiOegRpxQGC6DuC LxUDGN9wpw/BxOb6lhujFxyih91bM8T0cSjOakA8dqNDYWp1aMuA0wegsOg1notI0oO+DIWD B3maol3hXcU8zmOM9oGOxUqMfxPoPAnYPxSIBFEKDJfmIyFdCAw2l0oE7AYLlrZ/2Bvsxsci wVyG4NvPWlwoDAgaB/tFguoEvLHYCD4F5ljB0BUo0GdBt96FeBpoF3i/6CoEcoGS9jJ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0Xqut3Wyw+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: Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.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);