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.92 #3 (Red Hat Linux)) id 1i3dPk-0003fF-4k for barebox@lists.infradead.org; Fri, 30 Aug 2019 09:41:53 +0000 References: <20190829052808.25624-1-a.fatoum@pengutronix.de> <443ebcdb-f66c-a608-9ccf-5fcb28721d88@pengutronix.de> From: Ahmad Fatoum Message-ID: <3de5bd77-f226-1302-a390-56c558292259@pengutronix.de> Date: Fri, 30 Aug 2019 11:41:50 +0200 MIME-Version: 1.0 In-Reply-To: <443ebcdb-f66c-a608-9ccf-5fcb28721d88@pengutronix.de> Content-Language: en-US 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] input: add handler for reset and power key input events To: Oleksij Rempel , barebox@lists.infradead.org CgpPbiA4LzI5LzE5IDg6NDEgQU0sIE9sZWtzaWogUmVtcGVsIHdyb3RlOgo+IEhpCj4gCj4gT24g MjkuMDguMTkgMDc6MjgsIEFobWFkIEZhdG91bSB3cm90ZToKPj4gS2VybmVsIGRldmljZSB0cmVl cyBtYXkgaW5kaWNhdGUgbGludXgsY29kZSA9IEtFWV9QT1dFUiBvciBLRVlfUkVTVEFSVCwKPj4g bW9zdGx5IGZvciBncGlvLWtleXMuIE1ha2UgYmFyZWJveCBhYmxlIHRvIGFjdCBvbiB0aGVtIGJ5 IHJlZ2lzdGVyaW5nIGFuCj4+IGFwcHJvcHJpYXRlIGlucHV0IG5vdGlmaWVyLgo+Pgo+PiBTdWdn ZXN0ZWQtYnk6IE9sZWtzaWogUmVtcGVsIDxvLnJlbXBlbEBwZW5ndXRyb25peC5kZT4KPj4gU2ln bmVkLW9mZi1ieTogQWhtYWQgRmF0b3Vt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