From patchwork Wed Feb 6 10:53:50 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 14611 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id D3DDB2423C for ; Wed, 6 Feb 2013 10:55:41 +0000 (UTC) Received: from mail-vb0-f43.google.com (mail-vb0-f43.google.com [209.85.212.43]) by fiordland.canonical.com (Postfix) with ESMTP id 8E5CDA187B7 for ; Wed, 6 Feb 2013 10:55:41 +0000 (UTC) Received: by mail-vb0-f43.google.com with SMTP id fs19so735095vbb.2 for ; Wed, 06 Feb 2013 02:55:41 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state; bh=zofiAqwvu6y9ZLtooRfzZo9zHKFI2Y+tUEVOmJ4fz74=; b=L5b5r2UaifXaSSggXc7OOTS/0AsV6YgM6nt8Fke4kKJh/c6H86SP1I9IOz/1aKeDfN iBXUx9nJHxm6Sd9hfyngeE2VMj6hWxz92NRdEsgqaAxDEPWfsY8DOD6iqQTNGBBMiSpq 6s/o6dZJiwP/3Uo40KNCwr+tVqrCG5PjEn3zVEs6d1QK72TGhJab+qKC4vtPn76vDeVT jxLVq7qWy/JBSGUiIMshhFOfsLDbVUj5fxUQIAw9EPvX2DV3Xn2GY8JAroCyNTN1uK5E PPeook5EVzHpTXOvOE7HBSw7B2iprwGqM4ltCdzsyMr1e69mo2tuWuBf05hiZMdTQKSE IMXw== X-Received: by 10.52.24.98 with SMTP id t2mr24790250vdf.69.1360148141118; Wed, 06 Feb 2013 02:55:41 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.58.252.8 with SMTP id zo8csp12986vec; Wed, 6 Feb 2013 02:55:40 -0800 (PST) X-Received: by 10.180.75.110 with SMTP id b14mr4114971wiw.21.1360148109746; Wed, 06 Feb 2013 02:55:09 -0800 (PST) Received: from mail-wg0-x22a.google.com ([2a00:1450:400c:c00::22a]) by mx.google.com with ESMTPS id j1si508108wiv.66.2013.02.06.02.55.09 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 06 Feb 2013 02:55:09 -0800 (PST) Received-SPF: neutral (google.com: 2a00:1450:400c:c00::22a is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) client-ip=2a00:1450:400c:c00::22a; Authentication-Results: mx.google.com; spf=neutral (google.com: 2a00:1450:400c:c00::22a is neither permitted nor denied by best guess record for domain of lee.jones@linaro.org) smtp.mail=lee.jones@linaro.org Received: by mail-wg0-f42.google.com with SMTP id 12so4913833wgh.5 for ; Wed, 06 Feb 2013 02:55:09 -0800 (PST) X-Received: by 10.194.242.69 with SMTP id wo5mr48835019wjc.10.1360148105375; Wed, 06 Feb 2013 02:55:05 -0800 (PST) Received: from localhost.localdomain (cpc34-aztw25-2-0-cust250.18-1.cable.virginmedia.com. [86.16.136.251]) by mx.google.com with ESMTPS id be1sm2406649wib.10.2013.02.06.02.55.04 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 06 Feb 2013 02:55:05 -0800 (PST) From: Lee Jones To: linux-kernel@vger.kernel.org Cc: broonie@opensource.wolfsonmicro.com, linus.walleij@linaro.org, Lee Jones Subject: [PATCH 28/49] ARM: ux500: regulator: Use device IDs instead of device names Date: Wed, 6 Feb 2013 10:53:50 +0000 Message-Id: <1360148051-7560-29-git-send-email-lee.jones@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1360148051-7560-1-git-send-email-lee.jones@linaro.org> References: <1360148051-7560-1-git-send-email-lee.jones@linaro.org> X-Gm-Message-State: ALoCoQnBRnfaNK1LpejX5prMYhCKWP/6M9K6BGIPEfekV+PjMWcvslV40rzFUUENJHFm+4G9HIPj Remove device name from sensor platform data and change regulator names according to device name. Signed-off-by: Lee Jones --- arch/arm/mach-ux500/board-mop500-regulators.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/mach-ux500/board-mop500-regulators.c b/arch/arm/mach-ux500/board-mop500-regulators.c index 83dcbd1..793bdae 100644 --- a/arch/arm/mach-ux500/board-mop500-regulators.c +++ b/arch/arm/mach-ux500/board-mop500-regulators.c @@ -67,17 +67,17 @@ static struct regulator_consumer_supply ab8500_vaux1_consumers[] = { REGULATOR_SUPPLY("vcc", "2-0029"), /* lsm303dlh accelerometer */ REGULATOR_SUPPLY("vdd", "3-0018"), + /* lsm303dlhc accelerometer */ + REGULATOR_SUPPLY("vdd", "2-0019"), /* lsm303dlh magnetometer */ - REGULATOR_SUPPLY("vdd", "3-001e"), + REGULATOR_SUPPLY("vdd", "2-001e"), /* Rohm BU21013 Touchscreen devices */ REGULATOR_SUPPLY("avdd", "3-005c"), REGULATOR_SUPPLY("avdd", "3-005d"), /* Synaptics RMI4 Touchscreen device */ REGULATOR_SUPPLY("vdd", "3-004b"), /* L3G4200D Gyroscope device */ - REGULATOR_SUPPLY("vdd", "l3g4200d"), - /* Proximity and Hal sensor device */ - REGULATOR_SUPPLY("vdd", "sensor1p.0"), + REGULATOR_SUPPLY("vdd", "2-0068"), /* Ambient light sensor device */ REGULATOR_SUPPLY("vdd", "3-0029"), /* Pressure sensor device */