Message ID | CAAObsKDjF9uOpX+m-AG0HRcwVrbveDwWP+swxo7-xPCHw_-voQ@mail.gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 4F446C05AC for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 31 Jul 2015 10:35:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4B4AA205D1 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 31 Jul 2015 10:35:33 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3EBF1203B4 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 31 Jul 2015 10:35:32 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZL7d8-0005nR-G1; Fri, 31 Jul 2015 10:33:34 +0000 Received: from merlin.infradead.org ([2001:4978:20e::2]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZL7d5-0005m7-Ge for linux-arm-kernel@bombadil.infradead.org; Fri, 31 Jul 2015 10:33:31 +0000 Received: from mail-wi0-x233.google.com ([2a00:1450:400c:c05::233]) by merlin.infradead.org with esmtps (Exim 4.85 #2 (Red Hat Linux)) id 1ZL7d3-0003m4-Gw for linux-arm-kernel@lists.infradead.org; Fri, 31 Jul 2015 10:33:30 +0000 Received: by wicmv11 with SMTP id mv11so52750957wic.0 for <linux-arm-kernel@lists.infradead.org>; Fri, 31 Jul 2015 03:33:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=nZZAJ1nFSjlyuBchQsdaDUkj2+MfWZO2oCmpffY5ZPM=; b=VgGI5MSuMHZ2tW5JoTzicBBqC0ILekPoPDzOvTYAzw49Afjd0L1907TmZvEcR/BsjI 0SbO8y1GGerRbdcLXJB6kfYsZqwwDrJ7LDF+h6q+rFhDu3rJiZrVnsENrR4hdijdQQ6G Ouie/un/EvpJcDCBspMm/b5njKaU7DGojJWLG1UvuE8SjFQ5B5MIAR4txcbLwkq5Cx3g oHtw2rOvBuR3cChcZGge81TVe453ZBHIj2lzQvE9wcpAG81kx3jc4nyLHyvJ23UHgDhG /hOUISnj7d+XJztWynkCZerbHBSbMIsHYDDESCFrFXnl39KZLmU2mU49s2UYpACLtUYL zEYg== X-Received: by 10.180.99.196 with SMTP id es4mr5355362wib.57.1438338784853; Fri, 31 Jul 2015 03:33:04 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.0.38 with HTTP; Fri, 31 Jul 2015 03:32:45 -0700 (PDT) In-Reply-To: <CAL_Jsq+2b4+pf9G1ynWSkDgyC1agmS-TdTVjzdfQKNBWuuOHgw@mail.gmail.com> References: <1438089593-7696-1-git-send-email-tomeu.vizoso@collabora.com> <1438089593-7696-5-git-send-email-tomeu.vizoso@collabora.com> <CAL_JsqJGhFXDKuayuKc2E58X5A7ZGN=uYCVDLnXw_t3_auBg+w@mail.gmail.com> <CAAObsKBfRLdPc0gs55ARfa+qZJAOEyEgRyTf8krZnQMb6-j03g@mail.gmail.com> <CAL_Jsq+RqGAxHE5-ocD-htddBHckG24oZNqfgmMF3Jak6wDXBQ@mail.gmail.com> <CAAObsKA+vMsgiC52jReJckeDjXhdd=_NBocFbMapdwFReiY1SQ@mail.gmail.com> <CAAObsKD9BN7dsEiNB=OvJkoOQPwxwnP794w=X4AwtYz3oxEJqw@mail.gmail.com> <CAL_Jsq+2b4+pf9G1ynWSkDgyC1agmS-TdTVjzdfQKNBWuuOHgw@mail.gmail.com> From: Tomeu Vizoso <tomeu.vizoso@collabora.com> Date: Fri, 31 Jul 2015 12:32:45 +0200 X-Google-Sender-Auth: ybG0VepFQifV3Xp6d4cMUc4TZVg Message-ID: <CAAObsKDjF9uOpX+m-AG0HRcwVrbveDwWP+swxo7-xPCHw_-voQ@mail.gmail.com> Subject: Re: [PATCH v2 04/22] of/platform: add of_platform_device_find() To: Rob Herring <robherring2@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150731_063329_804900_6E4AE1AD X-CRM114-Status: GOOD ( 33.80 ) X-Spam-Score: -2.4 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: "devicetree@vger.kernel.org" <devicetree@vger.kernel.org>, "linux-acpi@vger.kernel.org" <linux-acpi@vger.kernel.org>, Arnd Bergmann <arnd@arndb.de>, Stephen Warren <swarren@wwwdotorg.org>, Linus Walleij <linus.walleij@linaro.org>, Dmitry Torokhov <dmitry.torokhov@gmail.com>, "Rafael J. Wysocki" <rjw@rjwysocki.net>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, Rob Herring <robh+dt@kernel.org>, Javier Martinez Canillas <javier@osg.samsung.com>, Mark Brown <broonie@kernel.org>, Thierry Reding <thierry.reding@gmail.com>, Grant Likely <grant.likely@linaro.org>, "linux-arm-kernel@lists.infradead.org" <linux-arm-kernel@lists.infradead.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/of/platform.c b/drivers/of/platform.c index 89c5cd513027..e14518b5e1ce 100644 --- a/drivers/of/platform.c +++ b/drivers/of/platform.c @@ -192,6 +192,8 @@ static struct platform_device *of_platform_device_create_pdata( goto err_clear_flag; } + np->platform_dev = dev; + return dev;