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 #3 (Red Hat Linux)) id 1jmBhQ-0006Ro-Fy for barebox@lists.infradead.org; Fri, 19 Jun 2020 07:44:41 +0000 From: Sascha Hauer Date: Fri, 19 Jun 2020 09:44:19 +0200 Message-Id: <20200619074427.17289-14-s.hauer@pengutronix.de> In-Reply-To: <20200619074427.17289-1-s.hauer@pengutronix.de> References: <20200619074427.17289-1-s.hauer@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 13/21] fastboot: rename usbgadget.fastboot_* variables to fastboot.* To: Barebox List Cc: =?UTF-8?q?Daniel=20Gl=C3=B6ckner?= RnJvbTogRGFuaWVsIEdsw7Zja25lciA8ZGdAZW1saXguY29tPgoKVGhlcmUgaXMgbm90aGluZyBV U0Itc3BlY2lmaWMgaW4gdGhlIGRlZmluZWQgdXNiZ2FkZ2V0LmZhc3Rib290XyoKdmFyaWFibGVz LiBSZW5hbWUgdGhlbSB0byBiZSB1c2FibGUgYWxzbyBmb3IgdGhlIFVEUCBmYXN0Ym9vdCB0cmFu c3BvcnQuCgpUaGUgdXNiZ2FkZ2V0LmZhc3Rib290X2Z1bmN0aW9uIHZhcmlhYmxlIGlzIHVzZWQg dG8gZGVmaW5lIHRoZSBmaWxlcyBhbmQKZGV2aWNlcyBhY2Nlc3NpYmxlIHdpdGggdGhlIGVyYXNl IGFuZCBmbGFzaCBjb21tYW5kcy4gU2luY2UgImZ1bmN0aW9uIiBpcwphIHRlcm0gZnJvbSB0aGUg VVNCIHNwZWNpZmljYXRpb24gYW5kIHRoZSBGYXN0Ym9vdCBzcGVjaWZp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