From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from t111.niisi.ras.ru ([193.232.173.111]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VjlTo-0000C9-Au for barebox@lists.infradead.org; Fri, 22 Nov 2013 07:48:45 +0000 Date: Fri, 22 Nov 2013 11:49:58 +0400 From: "Antony N. Pavlov" Message-Id: <20131122114958.6d6ec0a93ec910d06216b845@niisi.msk.ru> In-Reply-To: <20131122072008.GI24559@pengutronix.de> References: <1385064684-28363-1-git-send-email-antonynpavlov@gmail.com> <1385064684-28363-2-git-send-email-antonynpavlov@gmail.com> <20131122072008.GI24559@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 2/2] gpiolib: import gpio_request_array() from linux 3.7 To: Sascha Hauer Cc: barebox@lists.infradead.org T24gRnJpLCAyMiBOb3YgMjAxMyAwODoyMDowOCArMDEwMApTYXNjaGEgSGF1ZXIgPHMuaGF1ZXJA cGVuZ3V0cm9uaXguZGU+IHdyb3RlOgoKPiBIaSBBbnRvbnksCj4gCj4gT24gRnJpLCBOb3YgMjIs IDIwMTMgYXQgMTI6MTE6MjRBTSArMDQwMCwgQW50b255IFBhdmxvdiB3cm90ZToKPiA+IEFsc28g aW1wb3J0IHJlbGF0ZWQgZnVuY3Rpb25zIGdwaW9fcmVxdWVzdF9vbmUoKSBhbmQKPiA+IGdwaW9f ZnJlZV9hcnJheSgpLgo+ID4gCj4gPiBUaGlzIGNvbW1pdCBpbXBvcnRzIGNvZGUgZnJvbSBsaW51 eCAzLjcgYXMKPiA+IHRoZSBtb3JlIHJlY2VudCBsaW51eCBrZXJuZWwgdmVyc2lvbnMgdXNlIGdw aW9saWIgZGVzY3JpcHRvcnMsCj4gPiBzZ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