From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YtZ5V-0008R1-6p for barebox@lists.infradead.org; Sat, 16 May 2015 10:12:58 +0000 From: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= Date: Sat, 16 May 2015 12:12:29 +0200 Message-Id: <1431771149-27265-1-git-send-email-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] of: add a function to remove an of_fixup To: barebox@lists.infradead.org VGhpcyBmdW5jdGlvbiBpcyBuZWVkZWQgd2hlbiBhIGRldmljZSB0aGF0IGFscmVhZHkgcmVnaXN0 ZXJlZCBhIGZpeHVwIGluCnRoZSBwcm9iZSByb3V0aW5lIGZhaWxzIGxhdGVyIHRvIHByb2JlIGNv bXBsZXRlbHkuIFdpdGhvdXQgdW5yZWdpc3RlcmluZwp0aGUgZml4dXAgdGhlIGZ1bmN0aW9uIG1p Z2h0IGxhdGVyIGJlIGNhbGxlZCB3aXRoIGludmFsaWQgZGF0YS4KClNpZ25lZC1vZmYtYnk6IFV3 ZSBLbGVpbmUtS8O2bmlnIDx1LmtsZWluZS1rb2VuaWdAcGVuZ3V0cm9uaXguZGU+Ci0tLQogY29t bW9uL29mdHJlZS5jIHwgMTkgKysrKysrKysrKysrKysrKysrKwogaW5jbHVkZS9vZi5oICAgIHwg IDEgKwogMiBmaWxlcyBjaGFuZ2VkLCAyMCBpbnNlcnRpb25zKCspCgpkaWZmIC0tZ2l0IGEvY29t bW9uL29mdHJlZS5jIGIvY29tbW9uL29mdHJlZS5jCmluZGV4IDUwZmM5NWI1ODgyMC4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