From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-we0-x22b.google.com ([2a00:1450:400c:c03::22b]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XQygC-0004JN-1a for barebox@lists.infradead.org; Mon, 08 Sep 2014 13:08:24 +0000 Received: by mail-we0-f171.google.com with SMTP id x48so2070333wes.2 for ; Mon, 08 Sep 2014 06:07:59 -0700 (PDT) From: =?UTF-8?q?Rapha=C3=ABl=20Poggi?= Date: Mon, 8 Sep 2014 15:07:57 +0200 Message-Id: <1410181677-17441-4-git-send-email-poggi.raph@gmail.com> In-Reply-To: <1410181677-17441-1-git-send-email-poggi.raph@gmail.com> References: <1410181677-17441-1-git-send-email-poggi.raph@gmail.com> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH] pinctrl: at91: retrieve device id in non dtb probe To: barebox@lists.infradead.org Cc: =?UTF-8?q?Rapha=C3=ABl=20Poggi?= V2UgbmVlZCB0byByZXRyaWV2ZSB0aGUgZGV2aWNlIGlkIGluIGRldmljZSB0cmVlL25vbiBkZXZp Y2UgdHJlZSBjYXNlLgoKU2lnbmVkLW9mZi1ieTogUmFwaGHDq2wgUG9nZ2kgPHBvZ2dpLnJhcGhA Z21haWwuY29tPgotLS0KIGRyaXZlcnMvcGluY3RybC9waW5jdHJsLWF0OTEuYyB8IDExICsrKysr KysrLS0tCiAxIGZpbGUgY2hhbmdlZCwgOCBpbnNlcnRpb25zKCspLCAzIGRlbGV0aW9ucygtKQoK ZGlmZiAtLWdpdCBhL2RyaXZlcnMvcGluY3RybC9waW5jdHJsLWF0OTEuYyBiL2RyaXZlcnMvcGlu Y3RybC9waW5jdHJsLWF0OTEuYwppbmRleCAzZGM4MWM3Li5kMzQyM2QwIDE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