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: 3990411 Return-Path: X-Original-To: patchwork-linux-arm@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 9DC5CBFF02 for ; Tue, 15 Apr 2014 09:32:17 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BF0C120220 for ; Tue, 15 Apr 2014 09:32:16 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id EEF3320211 for ; Tue, 15 Apr 2014 09:32:15 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WZzhH-0005Vq-JV; Tue, 15 Apr 2014 09:30:31 +0000 Received: from mail-pa0-f44.google.com ([209.85.220.44]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WZzgy-00042b-Ot for linux-arm-kernel@lists.infradead.org; Tue, 15 Apr 2014 09:30:13 +0000 Received: by mail-pa0-f44.google.com with SMTP id bj1so9386539pad.17 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=fB1v6qcFHSVLwmddgCqU+mmEms0yw6F/vosIS9/CdrwJZWohNIiRxAkGQUunLrD9++ nUBCsJXGNRqCDK8xw8DJ0LIf6IEywsJz2v4eVIrP47FBRKnY3BSNdgmbw5g/Ow/oM+O9 /xVa3AeKb3mQ9ELScnzIn2zgkiocE64z4UN+Ftd/dztwU6vuf5UI3W9TNpw8r3TY73Lg bzQaTFeah2SUjKJjbIn0Ikv5gKai/L31X4kIKExj5M6VsRot4qJFswvFDFBV4No4BRLD LSNIXjYYKqyChVcJ7q33vQKNR/7wOnY9oth7eQV2dNhKKlTgsvA+oEbcytzlcYhSqeRy 0sxA== X-Gm-Message-State: ALoCoQni7MzeLh5ZQesvPcQicmizmg3p/2ouk4Vh2njHPWsV/IC3rg8PG9t9dm1DAb3FfnO62w1A 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140415_023012_826020_190067BF X-CRM114-Status: GOOD ( 10.13 ) X-Spam-Score: -0.7 (/) Cc: sachin.kamat@linaro.org, kgene.kim@samsung.com, linux-samsung-soc@vger.kernel.org, arnd@arndb.de X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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);