From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1i7QNF-0003C7-U5 for barebox@lists.infradead.org; Mon, 09 Sep 2019 20:34:59 +0000 From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= Date: Mon, 9 Sep 2019 22:34:50 +0200 Message-Id: <20190909203451.13047-2-u.kleine-koenig@pengutronix.de> In-Reply-To: <20190909203451.13047-1-u.kleine-koenig@pengutronix.de> References: <20190909203451.13047-1-u.kleine-koenig@pengutronix.de> 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 v4 1/2] =?UTF-8?q?mci:=20provide=20wrapper=20for=20mci=5Fg?= =?UTF-8?q?et=5Fdevice=5Fby=5Fname=20=E2=88=98=20devpath=5Fto=5Fname?= To: barebox@lists.infradead.org QWxzbyBjb252ZXJ0IHRoZSBvbmx5IHVzZXIgb2YgbWNpX2dldF9kZXZpY2VfYnlfbmFtZSB0byB0 aGlzIG5ldwp3cmFwcGVyLgoKU2lnbmVkLW9mZi1ieTogVXdlIEtsZWluZS1Lw7ZuaWcgPHUua2xl aW5lLWtvZW5pZ0BwZW5ndXRyb25peC5kZT4KLS0tCiBjb21tYW5kcy9tbWNfZXh0Y3NkLmMgfCA2 ICsrKy0tLQogaW5jbHVkZS9tY2kuaCAgICAgICAgIHwgNiArKysrKysKIDIgZmlsZXMgY2hhbmdl ZCwgOSBpbnNlcnRpb25zKCspLCAzIGRlbGV0aW9ucygtKQoKZGlmZiAtLWdpdCBhL2NvbW1hbmRz L21tY19leHRjc2QuYyBiL2NvbW1hbmRzL21tY19leHRjc2QuYwppbmRleCA4ODlhNmM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