From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.visioncatalog.de ([217.6.246.34] helo=root.phytec.de) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Uq0nb-0001RU-RH for barebox@lists.infradead.org; Fri, 21 Jun 2013 12:50:45 +0000 Received: from idefix.phytec.de (idefix.phytec.de [172.16.0.10]) by root.phytec.de (Postfix) with ESMTP id 21BFABF0F5 for ; Fri, 21 Jun 2013 14:45:28 +0200 (CEST) From: =?UTF-8?q?Teresa=20G=C3=A1mez?= Date: Fri, 21 Jun 2013 14:50:19 +0200 Message-Id: <1371819019-13596-2-git-send-email-t.gamez@phytec.de> In-Reply-To: <1371819019-13596-1-git-send-email-t.gamez@phytec.de> References: <1371819019-13596-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 2/2] ARCH: OMAP: Apply i2c-omap id_tables to device register functions To: barebox@lists.infradead.org UmVtb3ZlIG9tYXBfYWRkX2kyYygpIGFuZCB1c2UgdGhlIGlkX3RhYmxlIG5hbWVzIHRvIHJlZ2lz dGVyIHRoZQpkZXZpY2VzLgoKU2lnbmVkLW9mZi1ieTogVGVyZXNhIEfDoW1leiA8dC5nYW1lekBw aHl0ZWMuZGU+Ci0tLQogYXJjaC9hcm0vbWFjaC1vbWFwL2luY2x1ZGUvbWFjaC9hbTMzeHgtZGV2 aWNlcy5oIHwgICAgOSArKysrKystLS0KIGFyY2gvYXJtL21hY2gtb21hcC9pbmNsdWRlL21hY2gv ZGV2aWNlcy5oICAgICAgICB8ICAgIDIgLS0KIGFyY2gvYXJtL21hY2gtb21hcC9pbmNsdWRlL21h Y2gvb21hcDMtZGV2aWNlcy5oICB8ICAgIDkgKysrKysrLS0tCi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