From patchwork Fri Aug 23 12:23:29 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 19463 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f199.google.com (mail-vc0-f199.google.com [209.85.220.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 877EE248E6 for ; Fri, 23 Aug 2013 12:24:48 +0000 (UTC) Received: by mail-vc0-f199.google.com with SMTP id gf11sf429846vcb.10 for ; Fri, 23 Aug 2013 05:24:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-gm-message-state:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=GlZXe1/PuJSo8Q4uuivdPg0I8DL8KJE6jHLHfg6DfjQ=; b=b3XgbsCfKr1mY22+3zIP+RPfpBSfnEti7mIgNTgCEKTrETxdoX9K6mNgnRc4zXNtaq Ul3GKkxRa9WkJ30Re2R7LWYkPJnvnsyRy72ZUMeV9zssbiXGuN/bhIvgemVlrjYG6zI1 l+3uWv1hUF4wGBwASS2/z5AAKx3b7oLAs8joypVUnfCBmX3NdquQ2rSNjQu7s5o9AOD/ juG5y3fqSrXB0QAxMHM1wM38wzLwmV0fwPvOcB32uG1GjXybmN3QljpP5KwwrX/lq0Qv kelUT/V99P+zI+SXjELaCF+UnDI8t9N+ZTFYk0O0XnpMvBw6+PJg1bOIJ2VfH5J/RGf+ ZSQw== X-Received: by 10.224.124.131 with SMTP id u3mr9325363qar.5.1377260688371; Fri, 23 Aug 2013 05:24:48 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.39.165 with SMTP id q5ls1564290qek.22.gmail; Fri, 23 Aug 2013 05:24:48 -0700 (PDT) X-Received: by 10.52.94.78 with SMTP id da14mr978608vdb.28.1377260688288; Fri, 23 Aug 2013 05:24:48 -0700 (PDT) Received: from mail-vc0-f173.google.com (mail-vc0-f173.google.com [209.85.220.173]) by mx.google.com with ESMTPS id cz7si5461449veb.147.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 23 Aug 2013 05:24:48 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.173 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.173; Received: by mail-vc0-f173.google.com with SMTP id id13so357488vcb.4 for ; Fri, 23 Aug 2013 05:24:48 -0700 (PDT) X-Gm-Message-State: ALoCoQmWROENOQ1HBZuzbGLmRBbGyq6NzG67FFFQpgRC/ACeRd2BhF707ffhwZLN3hUBVSuA4wbK X-Received: by 10.58.136.4 with SMTP id pw4mr16516173veb.10.1377260688212; Fri, 23 Aug 2013 05:24:48 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp90142vcz; Fri, 23 Aug 2013 05:24:47 -0700 (PDT) X-Received: by 10.14.4.1 with SMTP id 1mr26383474eei.21.1377260687106; Fri, 23 Aug 2013 05:24:47 -0700 (PDT) Received: from mail-ee0-f46.google.com (mail-ee0-f46.google.com [74.125.83.46]) by mx.google.com with ESMTPS id q8si16793756eem.60.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 23 Aug 2013 05:24:47 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.83.46 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=74.125.83.46; Received: by mail-ee0-f46.google.com with SMTP id c13so263919eek.33 for ; Fri, 23 Aug 2013 05:24:46 -0700 (PDT) X-Received: by 10.15.73.134 with SMTP id h6mr513344eey.76.1377260686512; Fri, 23 Aug 2013 05:24:46 -0700 (PDT) Received: from localhost.localdomain (cpc15-aztw25-2-0-cust493.aztw.cable.virginmedia.com. [92.233.57.238]) by mx.google.com with ESMTPSA id f49sm24417729eec.7.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 23 Aug 2013 05:24:45 -0700 (PDT) From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: arnd@arndb.de, linus.walleij@linaro.org, Lee Jones Subject: [PATCH 29/40] ARM: ux500: Stop requesting the SoC device to play 'parent' role Date: Fri, 23 Aug 2013 13:23:29 +0100 Message-Id: <1377260620-18829-30-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1377260620-18829-1-git-send-email-lee.jones@linaro.org> References: <1377260620-18829-1-git-send-email-lee.jones@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: lee.jones@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.173 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , There are no more devices which require left to register which require a parent. This is part of the ux500 conversion over to Device Tree only booting. Signed-off-by: Lee Jones --- arch/arm/mach-ux500/board-mop500.c | 12 ------------ arch/arm/mach-ux500/cpu-db8500.c | 8 -------- 2 files changed, 20 deletions(-) diff --git a/arch/arm/mach-ux500/board-mop500.c b/arch/arm/mach-ux500/board-mop500.c index db6908a..25c6dcd 100644 --- a/arch/arm/mach-ux500/board-mop500.c +++ b/arch/arm/mach-ux500/board-mop500.c @@ -80,36 +80,24 @@ struct pl022_ssp_controller ssp0_plat = { static void __init mop500_init_machine(void) { - struct device *parent = NULL; - platform_device_register(&db8500_prcmu_device); - parent = u8500_init_devices(); - /* This board has full regulator constraints */ regulator_has_full_constraints(); } static void __init snowball_init_machine(void) { - struct device *parent = NULL; - platform_device_register(&db8500_prcmu_device); - parent = u8500_init_devices(); - /* This board has full regulator constraints */ regulator_has_full_constraints(); } static void __init hrefv60_init_machine(void) { - struct device *parent = NULL; - platform_device_register(&db8500_prcmu_device); - parent = u8500_init_devices(); - /* This board has full regulator constraints */ regulator_has_full_constraints(); } diff --git a/arch/arm/mach-ux500/cpu-db8500.c b/arch/arm/mach-ux500/cpu-db8500.c index 0ec6ddf..162ea03 100644 --- a/arch/arm/mach-ux500/cpu-db8500.c +++ b/arch/arm/mach-ux500/cpu-db8500.c @@ -136,14 +136,6 @@ static struct device * __init db8500_soc_device_init(void) return ux500_soc_device_init(soc_id); } -/* - * This function is called from the board init - */ -struct device * __init u8500_init_devices(void) -{ - return db8500_soc_device_init(); -} - #ifdef CONFIG_MACH_UX500_DT static struct of_dev_auxdata u8500_auxdata_lookup[] __initdata = { /* Requires call-back bindings. */