From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mx1.emlix.com ([188.40.240.192]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jksnD-00072M-U0 for barebox@lists.infradead.org; Mon, 15 Jun 2020 17:21:11 +0000 From: =?UTF-8?q?Daniel=20Gl=C3=B6ckner?= Date: Mon, 15 Jun 2020 19:20:46 +0200 Message-Id: <50373d4c6635dd9ab2ee248306cce79fb2cb209f.1592241105.git.dg@emlix.com> In-Reply-To: References: In-Reply-To: References: 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 v3 13/14] fastboot: rename usbgadget.fastboot_* variables to fastboot.* To: Barebox List Cc: =?UTF-8?q?Daniel=20Gl=C3=B6ckner?= VGhlcmUgaXMgbm90aGluZyBVU0Itc3BlY2lmaWMgaW4gdGhlIGRlZmluZWQgdXNiZ2FkZ2V0LmZh c3Rib290XyoKdmFyaWFibGVzLiBSZW5hbWUgdGhlbSB0byBiZSB1c2FibGUgYWxzbyBmb3IgdGhl IFVEUCBmYXN0Ym9vdCB0cmFuc3BvcnQuCgpUaGUgdXNiZ2FkZ2V0LmZhc3Rib290X2Z1bmN0aW9u IHZhcmlhYmxlIGlzIHVzZWQgdG8gZGVmaW5lIHRoZSBmaWxlcyBhbmQKZGV2aWNlcyBhY2Nlc3Np YmxlIHdpdGggdGhlIGVyYXNlIGFuZCBmbGFzaCBjb21tYW5kcy4gU2luY2UgImZ1bmN0aW9uIiBp cwphIHRlcm0gZnJvbSB0aGUgVVNCIHNwZWNpZmljYXRpb24gYW5kIHRoZSBGYXN0Ym9vdCBzcGVj aWZpY2F0aW9uIHVzZXMgdGhlCnRlcm0gInBhcnRpdGlvbiIsIHdlIHJlbmFtZSB0aGF0IHZhcmlh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