From patchwork Fri Aug 23 12:23:15 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 19449 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vb0-f69.google.com (mail-vb0-f69.google.com [209.85.212.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id CC45D248E6 for ; Fri, 23 Aug 2013 12:24:22 +0000 (UTC) Received: by mail-vb0-f69.google.com with SMTP id e13sf431356vbg.0 for ; Fri, 23 Aug 2013 05:24:22 -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=t92ZSdeUPvqxqqo4EjiX7Zr6rGMk5nfbulldU5b8zRo=; b=XMbVznOSnlMrzYVDM2rqplHMcGppqbAciyuUSwzCGahXQCDZG5nHTRlBJCXlwlfsYz caEF5QJjgpY//3IK2Fo2z1OgASdcS6vn+3rIXwZs/l1AD94et6tP/3xSX4gStPLmmOpb H0ZvBUdPn4xgs9Vvuw3lxXctUaOYoZ+nmHweQS1PXVMm8+qmB9shUvMBXBBjw4a1+nrK YlIgwg5oLif1qiW8uXwBAxDqrpbsJ1SlLLoZXWXj2W6PyMLn4IWAVYvNYmYTKFCSLdGD haUBrGRA5dHy4IvLsZMrJOEQcRyboEzQcNs4scSuHiNMZfwkICDyAGIjBWkHz3xSAiW9 9zoA== X-Received: by 10.236.70.71 with SMTP id o47mr803157yhd.12.1377260662643; Fri, 23 Aug 2013 05:24:22 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.71.83 with SMTP id s19ls1420568qeu.7.gmail; Fri, 23 Aug 2013 05:24:22 -0700 (PDT) X-Received: by 10.221.32.133 with SMTP id sk5mr74842vcb.27.1377260662538; Fri, 23 Aug 2013 05:24:22 -0700 (PDT) Received: from mail-ve0-f179.google.com (mail-ve0-f179.google.com [209.85.128.179]) by mx.google.com with ESMTPS id x9si5479157vec.4.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 23 Aug 2013 05:24:22 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.179 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.179; Received: by mail-ve0-f179.google.com with SMTP id c13so364831vea.38 for ; Fri, 23 Aug 2013 05:24:22 -0700 (PDT) X-Gm-Message-State: ALoCoQnyqESmb+Ff/ZU8T4z4ebRJx3EGS5GQX82IPULODl2s0q6LoZEmj4aUSX7Vv+8ImmFpiftr X-Received: by 10.58.75.41 with SMTP id z9mr16503273vev.4.1377260662454; Fri, 23 Aug 2013 05:24:22 -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 u4csp90105vcz; Fri, 23 Aug 2013 05:24:21 -0700 (PDT) X-Received: by 10.14.29.67 with SMTP id h43mr26266207eea.7.1377260661360; Fri, 23 Aug 2013 05:24:21 -0700 (PDT) Received: from mail-ee0-f47.google.com (mail-ee0-f47.google.com [74.125.83.47]) by mx.google.com with ESMTPS id r9si16740183eew.282.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 23 Aug 2013 05:24:21 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.83.47 is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=74.125.83.47; Received: by mail-ee0-f47.google.com with SMTP id d49so267022eek.34 for ; Fri, 23 Aug 2013 05:24:20 -0700 (PDT) X-Received: by 10.14.205.135 with SMTP id j7mr60542eeo.93.1377260660772; Fri, 23 Aug 2013 05:24:20 -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:19 -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 15/40] ARM: ux500: Remove Light sensor Rohm BH1780GLI when booting with ATAGs Date: Fri, 23 Aug 2013 13:23:15 +0100 Message-Id: <1377260620-18829-16-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.128.179 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: , It's time to remove all ATAG support from ux500 and rely solely on Device Tree booting. This patch is part of that endeavour. Signed-off-by: Lee Jones --- arch/arm/mach-ux500/board-mop500.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/arch/arm/mach-ux500/board-mop500.c b/arch/arm/mach-ux500/board-mop500.c index 66d466b..e0db81d 100644 --- a/arch/arm/mach-ux500/board-mop500.c +++ b/arch/arm/mach-ux500/board-mop500.c @@ -55,13 +55,6 @@ struct ab8500_platform_data ab8500_platdata = { .regulator = &ab8500_regulator_plat_data, }; -static struct i2c_board_info __initdata mop500_i2c2_devices[] = { - { - /* Light sensor Rohm BH1780GLI */ - I2C_BOARD_INFO("bh1780", 0x29), - }, -}; - static void __init mop500_i2c_init(struct device *parent) { db8500_add_i2c0(parent, NULL); @@ -249,9 +242,6 @@ static void __init mop500_init_machine(void) mop500_spi_init(parent); mop500_uart_init(parent); - i2c_register_board_info(2, mop500_i2c2_devices, - ARRAY_SIZE(mop500_i2c2_devices)); - /* This board has full regulator constraints */ regulator_has_full_constraints(); } @@ -301,9 +291,6 @@ static void __init hrefv60_init_machine(void) mop500_spi_init(parent); mop500_uart_init(parent); - i2c_register_board_info(2, mop500_i2c2_devices, - ARRAY_SIZE(mop500_i2c2_devices)); - /* This board has full regulator constraints */ regulator_has_full_constraints(); }