From patchwork Tue Apr 15 09:28:50 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 3990351 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 7029ABFF02 for ; Tue, 15 Apr 2014 09:29:58 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 95A9C20213 for ; Tue, 15 Apr 2014 09:29:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C7D8320211 for ; Tue, 15 Apr 2014 09:29:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751558AbaDOJ3y (ORCPT ); Tue, 15 Apr 2014 05:29:54 -0400 Received: from mail-pb0-f48.google.com ([209.85.160.48]:49441 "EHLO mail-pb0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750909AbaDOJ3w (ORCPT ); Tue, 15 Apr 2014 05:29:52 -0400 Received: by mail-pb0-f48.google.com with SMTP id md12so9252624pbc.7 for ; Tue, 15 Apr 2014 02:29:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ComezirtNFg5Rw8H1j/Ze+GH+sNKIdO14B901OhAP54=; b=TjfdxQ2RP1AUJQEzoHnmEFb8xJqrmrfM2BpHk7YQvDKqFv9VZDE+4X2VZMatO3l21C GjfmviIcY6+TPl5begSLpwACgo+ainvNA2KyPxn44yWdd4kOxjGlE8iDFN5OUVrWrrxC aWboCtoMikcv+mIXe55XoR7rNvDqYcSWz+Ebk77dHuDq5XjvbMCm8XhSyxXSnUpJXuBE lo4dTshm0ikrXYVPIKDzGQkOy/6l4CMoxJ9BvIGOjGe3QQtrAw7Z9f4BGUglPEzSbrE8 +DJ8m+eb479tjcJZcWpN0dPj4rkI2yO45HD9Ev842LHypDoClWQGR2w6FfoLURiik3qL iSAw== X-Gm-Message-State: ALoCoQnLAe++ZLkhD4QN/S7FiWiSYGfrW7U85WR5qorP7TbRzNM0qnTuX+91aMONACAnjiMTSOHc X-Received: by 10.66.146.229 with SMTP id tf5mr834864pab.50.1397554191736; Tue, 15 Apr 2014 02:29:51 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id av2sm39088093pbc.16.2014.04.15.02.29.48 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 15 Apr 2014 02:29:51 -0700 (PDT) From: Sachin Kamat To: linux-arm-kernel@lists.infradead.org Cc: linux-samsung-soc@vger.kernel.org, kgene.kim@samsung.com, arnd@arndb.de, sachin.kamat@linaro.org Subject: [PATCH 2/6] ARM: EXYNOS: Remove exynos_subsys registration Date: Tue, 15 Apr 2014 14:58:50 +0530 Message-Id: <1397554134-11827-3-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1397554134-11827-1-git-send-email-sachin.kamat@linaro.org> References: <1397554134-11827-1-git-send-email-sachin.kamat@linaro.org> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 'exynos_subsys' has no users. Remove this code. Signed-off-by: Sachin Kamat --- arch/arm/mach-exynos/exynos.c | 11 ----------- arch/arm/plat-samsung/include/plat/cpu.h | 1 - 2 files changed, 12 deletions(-) diff --git a/arch/arm/mach-exynos/exynos.c b/arch/arm/mach-exynos/exynos.c index b32a907d021d..eb1a431a894a 100644 --- a/arch/arm/mach-exynos/exynos.c +++ b/arch/arm/mach-exynos/exynos.c @@ -308,17 +308,6 @@ void __init exynos_init_io(void) exynos_map_io(); } -struct bus_type exynos_subsys = { - .name = "exynos-core", - .dev_name = "exynos-core", -}; - -static int __init exynos_core_init(void) -{ - return subsys_system_register(&exynos_subsys, NULL); -} -core_initcall(exynos_core_init); - static int __init exynos4_l2x0_cache_init(void) { int ret; diff --git a/arch/arm/plat-samsung/include/plat/cpu.h b/arch/arm/plat-samsung/include/plat/cpu.h index 5992b8dd9b89..930b4be832cd 100644 --- a/arch/arm/plat-samsung/include/plat/cpu.h +++ b/arch/arm/plat-samsung/include/plat/cpu.h @@ -239,7 +239,6 @@ extern struct bus_type s3c2443_subsys; extern struct bus_type s3c6410_subsys; extern struct bus_type s5p64x0_subsys; extern struct bus_type s5pv210_subsys; -extern struct bus_type exynos_subsys; extern void (*s5pc1xx_idle)(void);