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.85_2 #1 (Red Hat Linux)) id 1boRxG-0001PW-AZ for barebox@lists.infradead.org; Mon, 26 Sep 2016 09:12:07 +0000 From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= Date: Mon, 26 Sep 2016 11:11:36 +0200 Message-Id: <20160926091137.24719-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 1/2] firmware: altera-serial: Make the driver match the dt binding documentation To: barebox@lists.infradead.org U2lnbmVkLW9mZi1ieTogVXdlIEtsZWluZS1Lw7ZuaWcgPHUua2xlaW5lLWtvZW5pZ0BwZW5ndXRy b25peC5kZT4KLS0tCiBkcml2ZXJzL2Zpcm13YXJlL2FsdGVyYV9zZXJpYWwuYyB8IDEyICsrKysr Ky0tLS0tLQogMSBmaWxlIGNoYW5nZWQsIDYgaW5zZXJ0aW9ucygrKSwgNiBkZWxldGlvbnMoLSkK CmRpZmYgLS1naXQgYS9kcml2ZXJzL2Zpcm13YXJlL2FsdGVyYV9zZXJpYWwuYyBiL2RyaXZlcnMv ZmlybXdhcmUvYWx0ZXJhX3NlcmlhbC5jCmluZGV4IDQ1MjdkMjdjNWM5OC4uNTQ4NmQ5ZWM2M2U5 IDEwMDY0NAotLS0gYS9kcml2ZXJzL2Zpcm13YXJlL2FsdGVyYV9zZXJpYWwuYworKysgYi9kcml2 ZXJzL2Zpcm13YXJlL2FsdGVyYV9zZXJpYWwuYwpAQCAtMzUsOSArMzUsOSBAQAogICoKICAqCWZw Z2FAMCB7CiAgKgkJY29tcGF0aWJsZSA9ICJhbHRyLGZ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