From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mickerik.phytec.de ([195.145.39.210]) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gYt61-0006jU-0C for barebox@lists.infradead.org; Mon, 17 Dec 2018 13:38:10 +0000 Message-ID: <1545053877.6213.14.camel@phytec.de> From: Teresa Remmet Date: Mon, 17 Dec 2018 14:37:57 +0100 In-Reply-To: <20181214141730.26181-15-s.hauer@pengutronix.de> References: <20181214141730.26181-1-s.hauer@pengutronix.de> <20181214141730.26181-15-s.hauer@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: Re: [PATCH 14/23] ARM: omap: dmtimer: Turn into a driver To: Sascha Hauer , Barebox List SGVsbG8gU2FzY2hhLAoKLi4uCgo+IGRpZmYgLS1naXQgYS9hcmNoL2FybS9tYWNoLW9tYXAvZG10 aW1lci5jCj4gYi9kcml2ZXJzL2Nsb2Nrc291cmNlL3RpbWVyLXRpLWRtLmMKPiBzaW1pbGFyaXR5 IGluZGV4IDcyJQo+IHJlbmFtZSBmcm9tIGFyY2gvYXJtL21hY2gtb21hcC9kbXRpbWVyLmMKPiBy ZW5hbWUgdG8gZHJpdmVycy9jbG9ja3NvdXJjZS90aW1lci10aS1kbS5jCj4gaW5kZXggZTIyM2I4 Y2M4Zi4uNjM1Yjg2MGNmOSAxMDA2NDQKPiAtLS0gYS9hcmNoL2FybS9tYWNoLW9tYXAvZG10aW1l ci5jCj4gKysrIGIvZHJpdmVycy9jbG9ja3NvdXJjZS90aW1lci10aS1kbS5jCj4gQEAgLTI3LDYg KzI3LDcgQEAKPiDCoCAqCj4gwqAgKi8KPiDCoAo+ICsjaW5jbHVkZSA8Y29tbW9uLmg+Cj4gwqAj aW5jbHVkZSA8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