From patchwork Thu May 10 11:02:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 135405 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp857158lji; Thu, 10 May 2018 04:03:14 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpHxkLqj2lTXuj2nGRQ5/GD8tOFzP6YK0rV8ppju9Bi3N1IO47uPgIeO1BzJj36QzHZy1g2 X-Received: by 2002:a17:902:2468:: with SMTP id m37-v6mr957495plg.388.1525950194201; Thu, 10 May 2018 04:03:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525950194; cv=none; d=google.com; s=arc-20160816; b=hBZbNx3Fefd3I3dLKhqd79D4uceEO9Ml9AtygxySn0tGODZYMRuDJ0NV7vBdEc44f3 j80nfxChOZNX9DxyYRcX37A2GN3h7EufK0YlL0q7Ti51ZRxP3Q2RXtPgyI/ft2sy+inH nL7YGwx248ArrGGsTHQD4L2Cn2ydDgW+3iZhacvrKQNc3e5OVqR+6Uygz570coxsVEbO o3Sa4RZfSEAGsz5Xv8SNuFun38COE+HHAT7PFu+DMa99UBuQNFPePi1Y94lA+qd5imeG S7U3eQ+7XPGV+5KBSHhcJewsls3j8YmYeh5QT8OaGJhAvLUff44HtXnMbUxqWGjqYwal 4ayA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter :arc-authentication-results; bh=WzynbNRN8K0xiW4P9DrC4hR4DixcKpNBUrSD/xcdxUQ=; b=wj9is/MUx0uvRukegjA6ldrIInZ0+zZwIulzro2ZA5l8UhoFwzELZ3VHheai7EECN5 6pO3UN5NKTQ/45WKXWPLxN+PsADwZxDFV/Rf2mbxRR5HCtZcrqV3ddqXYUHW6/qarNc4 LqEHpLVMgn2DCIyj9ZD4/CcF1ZajTyreDbpsESUoSqGSrZ98m7EVx7v/D/kKYBeRYjFC 7eYvQEk81/OOgvyDA851VVN846o7HC5sZqdKWKm+e+KaN6EPPSidozxi04268QoVcwQ5 Yd5UtX45OBeh+302pObeO9y51bI6QxRDkfcVtoC6mLAyd+5rDFV5R2si3Y/HPvDbaFf1 bBPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@samsung.com header.s=mail20170921 header.b=XraAHTMy; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=fail (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 s22-v6si593183plp.216.2018.05.10.04.03.14; Thu, 10 May 2018 04:03:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@samsung.com header.s=mail20170921 header.b=XraAHTMy; spf=pass (google.com: best guess record for domain of linux-samsung-soc-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-samsung-soc-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756821AbeEJLDN (ORCPT + 3 others); Thu, 10 May 2018 07:03:13 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:43413 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756772AbeEJLDL (ORCPT ); Thu, 10 May 2018 07:03:11 -0400 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20180510110310euoutp02e8e74c6e54bb497bda4b6996b819871f~tQ50An88e2364823648euoutp02w; Thu, 10 May 2018 11:03:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20180510110310euoutp02e8e74c6e54bb497bda4b6996b819871f~tQ50An88e2364823648euoutp02w DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1525950190; bh=Snj6gGCg0UYqjecHvJA9zfHNQORuO5fp/n1EFv8P7hw=; h=From:To:Cc:Subject:Date:In-reply-to:References:From; b=XraAHTMy/p7XGFKct4SLZC3jDEmo47yIrmH7QGBCvp+fSL4+u34NjFS7zIB941pbI CPUo/MvgLiirhlLhVKwZ6xNw+Ml0oYklVYByoQ6xw3PhaRRsR3+eJFxeUDepNgaV+G bWnrIoJ28mjUwcUO81U+jss3JXZqmfAFJskr5KEw= Received: from eusmges1new.samsung.com (unknown [203.254.199.242]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20180510110309eucas1p2bfe9675094658670f99c7a0d7397e2a0~tQ5zPQ9EN2478524785eucas1p2Q; Thu, 10 May 2018 11:03:09 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges1new.samsung.com (EUCPMTA) with SMTP id D2.54.05700.DE624FA5; Thu, 10 May 2018 12:03:09 +0100 (BST) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20180510110308eucas1p2569424df01d7d31fa97c11f10b080bc7~tQ5ydDvou2192921929eucas1p2H; Thu, 10 May 2018 11:03:08 +0000 (GMT) X-AuditID: cbfec7f2-1dbff70000011644-ba-5af426eda9f4 Received: from eusync1.samsung.com ( [203.254.199.211]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 25.49.04178.CE624FA5; Thu, 10 May 2018 12:03:08 +0100 (BST) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0P8I00HDOEP19UA0@eusync1.samsung.com>; Thu, 10 May 2018 12:03:08 +0100 (BST) From: Marek Szyprowski To: linux-samsung-soc@vger.kernel.org Cc: Marek Szyprowski , Pankaj Dubey , Alim Akhtar , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz Subject: [PATCH v4 2/2] ARM: EXYNOS: Remove unused soc_is_exynos{4,5} Date: Thu, 10 May 2018 13:02:55 +0200 Message-id: <20180510110255.30727-3-m.szyprowski@samsung.com> X-Mailer: git-send-email 2.17.0 In-reply-to: <20180510110255.30727-1-m.szyprowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrGIsWRmVeSWpSXmKPExsWy7djPc7pv1b5EGazp4bN4MG8bm8XGGetZ Lc6f38BuMeP8PiaLtUfuslss2vqF3YHNY9OqTjaPvi2rGD0+b5ILYI7isklJzcksSy3St0vg ypj05i1jQSd7Rfvuo0wNjJ1sXYycHBICJhK/t61i7GLk4hASWMEo8eLfOVYI5zOjxPm2Vyww VcvmvWCDSCwDqjqwA8ppYJI42roTbBabgKFE19suMFtEQFXic9sCdhCbWeARo8S07mwQW1jA VWLhoYNgU1mAal5M3AZWzytgK7Gl/xzUTfISz6bPA+vlFLCT+PTuAjtE/CWrxI3rVRC2i8TL hRMZIWxhiVfHt0DVyEh0dhxkgrDrJfq+H2ECOVRCoIdRYm/LVKiEtcTh4xdZIY7jk5i0bTpz FyMHUJxXoqNNCKLEQ2LHkzVQ8x0lzq/9Dw2WiYwSfxasY53AKLWAkWEVo3hqaXFuemqxYV5q uV5xYm5xaV66XnJ+7iZGYOyd/nf80w7Gr5eSDjEKcDAq8fDO4PocJcSaWFZcmXuIUYKDWUmE 98c5oBBvSmJlVWpRfnxRaU5q8SFGaQ4WJXHeOI26KCGB9MSS1OzU1ILUIpgsEwenVAOjw6b3 TG4uwqW7D5ybrX9dX1/ySG9KKe/vthciPUemBWmLCV3blv9n0vNbLE4diflSDk+Xsx/gj8+R /7fp9U7HXdlqPjrt7TPMpnz8lO640eJQ/JWEut59z4RapNbGSW8uyenjm178bPbVB2x/t/Y3 6n5Qq5vuPP/46+mnH2rF3Lx0vPeT3Nd0JZbijERDLeai4kQANesmRrkCAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrBJMWRmVeSWpSXmKPExsVy+t/xy7pv1L5EGcyYqWzxYN42NouNM9az Wpw/v4HdYsb5fUwWa4/cZbdYtPULuwObx6ZVnWwefVtWMXp83iQXwBzFZZOSmpNZllqkb5fA lTHpzVvGgk72ivbdR5kaGDvZuhg5OSQETCSWzXsBZHNxCAksYZR49mcJO4TTxCRxdcdCdpAq NgFDia63XWAdIgKqEp/bFoAVMQs8YpToeT2PBSQhLOAqsfDQQTCbBajoxcRtYA28ArYSW/rP Qa2Tl3g2fR7YUE4BO4lP7y4A2RxA22wlfhzSmMDIs4CRYRWjSGppcW56brGhXnFibnFpXrpe cn7uJkZgeGw79nPzDsZLG4MPMQpwMCrx8M7g+hwlxJpYVlyZe4hRgoNZSYT3xzmgEG9KYmVV alF+fFFpTmrxIUZpDhYlcd7zBpVRQgLpiSWp2ampBalFMFkmDk6pBkYN1fvrBR9MUX3V2iB5 5fDlSbv2XhPOXc00KSaxIfbo9JfcRhIKIqsvpVnKzztQKn2/ztT5u86zqAz31O0cazI2JZXq 2cze9m/rFeXZbkJTZ0bqfau9wcYpvaxH3Pa7a6Jq/LenGl2ntR5kzzdJdmK7oFgxLXC5r+Db U3trl4YsXH52y/tPL9crsRRnJBpqMRcVJwIAC//gxQsCAAA= X-CMS-MailID: 20180510110308eucas1p2569424df01d7d31fa97c11f10b080bc7 X-Msg-Generator: CA CMS-TYPE: 201P X-CMS-RootMailID: 20180510110308eucas1p2569424df01d7d31fa97c11f10b080bc7 X-RootMTR: 20180510110308eucas1p2569424df01d7d31fa97c11f10b080bc7 References: <20180510110255.30727-1-m.szyprowski@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org From: Pankaj Dubey As no more user of soc_is_exynos{4,5} we can safely remove them. Signed-off-by: Pankaj Dubey Reviewed-by: Alim Akhtar --- arch/arm/mach-exynos/common.h | 4 ---- 1 file changed, 4 deletions(-) -- 2.17.0 -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/mach-exynos/common.h b/arch/arm/mach-exynos/common.h index 70253f71e59e..dcd21bb95e3b 100644 --- a/arch/arm/mach-exynos/common.h +++ b/arch/arm/mach-exynos/common.h @@ -86,10 +86,6 @@ IS_SAMSUNG_CPU(exynos5800, EXYNOS5800_SOC_ID, EXYNOS5_SOC_MASK) # define soc_is_exynos5800() 0 #endif -#define soc_is_exynos4() (soc_is_exynos4210() || soc_is_exynos4412()) -#define soc_is_exynos5() (soc_is_exynos5250() || soc_is_exynos5410() || \ - soc_is_exynos5420() || soc_is_exynos5800()) - extern u32 cp15_save_diag; extern u32 cp15_save_power;