From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760405Ab2IGLPb (ORCPT ); Fri, 7 Sep 2012 07:15:31 -0400 Received: from mail-wi0-f172.google.com ([209.85.212.172]:42854 "EHLO mail-wi0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760370Ab2IGLPW (ORCPT ); Fri, 7 Sep 2012 07:15:22 -0400 From: Lee Jones To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: STEricsson_nomadik_linux@list.st.com, linus.walleij@stericsson.com, arnd@arndb.de, Lee Jones Subject: [PATCH 05/19] ARM: ux500: Stop registering HREF's SDI devices from platform data Date: Fri, 7 Sep 2012 12:14:45 +0100 Message-Id: <1347016499-29354-6-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1347016499-29354-1-git-send-email-lee.jones@linaro.org> References: <1347016499-29354-1-git-send-email-lee.jones@linaro.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The HREF Device Tree now has support for its four SDIs. So, if we continue registering them from platform code when Device Tree is enabled we'll cause a double probe of the same devices. To prevent that we'll just remove registration. Signed-off-by: Lee Jones --- arch/arm/mach-ux500/board-mop500.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/mach-ux500/board-mop500.c b/arch/arm/mach-ux500/board-mop500.c index 9575150..a42418b 100644 --- a/arch/arm/mach-ux500/board-mop500.c +++ b/arch/arm/mach-ux500/board-mop500.c @@ -840,7 +840,6 @@ static void __init u8500_init_machine(void) platform_add_devices(mop500_platform_devs, ARRAY_SIZE(mop500_platform_devs)); - hrefv60_sdi_init(parent); mop500_audio_init(parent); i2c0_devs = ARRAY_SIZE(mop500_i2c0_devices); -- 1.7.9.5