From patchwork Fri Jul 25 14:23:49 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pawel Moll X-Patchwork-Id: 34283 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yk0-f199.google.com (mail-yk0-f199.google.com [209.85.160.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 5B5E3235AB for ; Fri, 25 Jul 2014 14:24:21 +0000 (UTC) Received: by mail-yk0-f199.google.com with SMTP id 79sf9153005ykr.10 for ; Fri, 25 Jul 2014 07:24:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=kBdImtz8gKkHYd0tWpqV/EJYK6abVNQJylVoRKwFIks=; b=VT2BbN0YeSnOMkG4d48OWhJadc0cG2UT+5etswCTJwOUUtqpmaaYhnLEdt5IaLmR9x vMKh69EeqTfVXOp9CJmRGfAH3td0F2xcO5o9zX5ROjnL8OBP7faIRZAxA1CF5/gq5Z2M MKxHS5017pFC2fZ0iy+NWaAgR7Ix4ZKWwDEcvFXAu1336FMc9FYkvAOsJFHqfFuAHRNh ccq3BwAjA94+YccEl52y/wCO4n//r00uzikl2xJlM1c5m1THC9iB1KIuk2po1gmr/HMa g+rIkkoi1KNpa0GECKoqCGzqkW3tNi2wmBqCSs9X6FsmXRrRl1WA7z41q7akHhwgDcW+ /rRQ== X-Gm-Message-State: ALoCoQmqR7YpHXoo2tqLE6HR5GrYlOE0xxbXU1/6JttNtLgpB2MKjuWbHmSqHj5vxkR9ksmaPIDV X-Received: by 10.236.204.38 with SMTP id g26mr6006991yho.43.1406298261117; Fri, 25 Jul 2014 07:24:21 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.20.23 with SMTP id 23ls1252323qgi.26.gmail; Fri, 25 Jul 2014 07:24:20 -0700 (PDT) X-Received: by 10.52.138.7 with SMTP id qm7mr17842983vdb.7.1406298260887; Fri, 25 Jul 2014 07:24:20 -0700 (PDT) Received: from mail-vc0-f172.google.com (mail-vc0-f172.google.com [209.85.220.172]) by mx.google.com with ESMTPS id da3si7477684vcb.102.2014.07.25.07.24.20 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 25 Jul 2014 07:24:20 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.172 as permitted sender) client-ip=209.85.220.172; Received: by mail-vc0-f172.google.com with SMTP id im17so7326846vcb.31 for ; Fri, 25 Jul 2014 07:24:20 -0700 (PDT) X-Received: by 10.52.120.38 with SMTP id kz6mr1670008vdb.86.1406298259302; Fri, 25 Jul 2014 07:24:19 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.221.37.5 with SMTP id tc5csp41996vcb; Fri, 25 Jul 2014 07:24:18 -0700 (PDT) X-Received: by 10.70.140.75 with SMTP id re11mr19097664pdb.65.1406298258372; Fri, 25 Jul 2014 07:24:18 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ro12si9357935pab.172.2014.07.25.07.24.17 for ; Fri, 25 Jul 2014 07:24:18 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752980AbaGYOYP (ORCPT + 14 others); Fri, 25 Jul 2014 10:24:15 -0400 Received: from fw-tnat.austin.arm.com ([217.140.110.23]:53440 "EHLO collaborate-mta1.arm.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751868AbaGYOYN (ORCPT ); Fri, 25 Jul 2014 10:24:13 -0400 Received: from hornet.Cambridge.Arm.com (hornet.cambridge.arm.com [10.2.201.42]) by collaborate-mta1.arm.com (Postfix) with ESMTP id B399913F886; Fri, 25 Jul 2014 09:24:10 -0500 (CDT) From: Pawel Moll To: Greg Kroah-Hartman Cc: Olof Johansson , Stephen Warren , Catalin Marinas , paul@pwsan.com, Arnd Bergmann , Peter De Schrijver , arm@kernel.org, linux-tegra@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Pawel Moll , Shawn Guo , Sascha Hauer , Russell King Subject: [PATCH 1/5] ARM: imx: Remove references to platform_bus in mxc code Date: Fri, 25 Jul 2014 15:23:49 +0100 Message-Id: <1406298233-27876-1-git-send-email-pawel.moll@arm.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: pawel.moll@arm.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.220.172 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The bus devices created to be parents for other peripherals were using platform_bus as a parent, not being platform devices themselves. Remove the references, making them virtual devices instead. Cc: Shawn Guo Cc: Sascha Hauer Cc: Russell King Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Pawel Moll Acked-by: Shawn Guo --- This patch is a part of effort to remove references to platform_bus and make it static. Shawn, Sascha - could you, please, have a look if such change is acceptable for you? arch/arm/mach-imx/devices/devices.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/mach-imx/devices/devices.c b/arch/arm/mach-imx/devices/devices.c index 1b4366a..8eab544 100644 --- a/arch/arm/mach-imx/devices/devices.c +++ b/arch/arm/mach-imx/devices/devices.c @@ -24,12 +24,10 @@ struct device mxc_aips_bus = { .init_name = "mxc_aips", - .parent = &platform_bus, }; struct device mxc_ahb_bus = { .init_name = "mxc_ahb", - .parent = &platform_bus, }; int __init mxc_device_init(void)