From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.tricorecenter.de ([217.6.246.34] helo=root.phytec.de) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XZL2W-0000V5-0L for barebox@lists.infradead.org; Wed, 01 Oct 2014 14:38:01 +0000 Received: from idefix.phytec.de (idefix.phytec.de [172.16.0.10]) by root.phytec.de (Postfix) with ESMTP id BAC02A00083 for ; Wed, 1 Oct 2014 16:37:40 +0200 (CEST) From: =?UTF-8?q?Teresa=20G=C3=A1mez?= Date: Wed, 1 Oct 2014 16:37:16 +0200 Message-Id: <1412174236-45854-1-git-send-email-t.gamez@phytec.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] i2c: omap: fix dts property "clock-frequency" usage To: barebox@lists.infradead.org TG9va2luZyBhdCB0aGUgbGludXgga2VybmVsIHRoZSBjbG9jay1mcmVxdWVuY3kgcHJvcGVydHkg b2YKdGhlIGRldmljZSB0cmVlIGlzIHVzZWQgdG8gc2V0IHRoZSBidXMgc3BlZWQgYW5kIG5vdCB0 aGUKZmNsa19yYXRlLiBBZGFwdGVkIHRoaXMgdG8gYmUgY29tcGxpYW50IHdpdGggbGludXgga2Vy bmVsLgoKU2lnbmVkLW9mZi1ieTogVGVyZXNhIEfDoW1leiA8dC5nYW1lekBwaHl0ZWMuZGU+Ci0t LQogZHJpdmVycy9pMmMvYnVzc2VzL2kyYy1vbWFwLmMgfCAyMCArKysrKysrKysrLS0tLS0tLS0t LQogMSBmaWxlIGNoYW5nZWQsIDEwIGluc2VydGlvbnMoKyksIDEwIGRlbGV0aW9ucygtKQoKZGlm ZiAtLWdpdCBhL2RyaXZlcnMvaTJjL2J1c3Nlcy9pMmMtb21hcC5jIGIvZHJpdmVycy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