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.90_1 #2 (Red Hat Linux)) id 1gAV9u-0006qK-FH for barebox@lists.infradead.org; Thu, 11 Oct 2018 07:13:24 +0000 From: =?UTF-8?q?Ulrich=20=C3=96lmann?= Date: Thu, 11 Oct 2018 09:13:02 +0200 Message-Id: <20181011071302.6366-1-u.oelmann@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] common: state: use of_property_write_string() where appropriate To: Barebox List U2VlIGNvbW1pdCBiNjA4OTE4MjMxNmQgKCJ0cmVld2lkZTogVXNlIG9mX3Byb3BlcnR5X3dyaXRl X3N0cmluZygpIHdoZXJlCmFwcHJvcHJpYXRlIikuCgpTaWduZWQtb2ZmLWJ5OiBVbHJpY2ggw5Zs bWFubiA8dS5vZWxtYW5uQHBlbmd1dHJvbml4LmRlPgotLS0KIGNvbW1vbi9zdGF0ZS9zdGF0ZV92 YXJpYWJsZXMuYyB8IDYgKystLS0tCiAxIGZpbGUgY2hhbmdlZCwgMiBpbnNlcnRpb25zKCspLCA0 IGRlbGV0aW9ucygtKQoKZGlmZiAtLWdpdCBhL2NvbW1vbi9zdGF0ZS9zdGF0ZV92YXJpYWJsZXMu YyBiL2NvbW1vbi9zdGF0ZS9zdGF0ZV92YXJpYWJsZXMuYwppbmRleCBkZTliYTRhYjYxYWMuLmFi ZDcxNGNlZGExZSAxMDA2NDQKLS0tIGEvY29tbW9uL3N0YXRlL3N0YXRlX3ZhcmlhYmxlcy5jCisr KyBiL2NvbW1vbi9zdGF0ZS9zdGF0ZV92YXJpYWJsZXMuYwpAQCAtMzM5LDggKzMzOSw3I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