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 1jZIUu-0005G3-UU for barebox@lists.infradead.org; Thu, 14 May 2020 18:22:23 +0000 Received: from mailer.emlix.com (p5098be52.dip0.t-ipconnect.de [80.152.190.82]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.emlix.com (Postfix) with ESMTPS id D401F5FEB5 for ; Thu, 14 May 2020 20:22:13 +0200 (CEST) From: =?UTF-8?q?Daniel=20Gl=C3=B6ckner?= Date: Thu, 14 May 2020 20:21:56 +0200 Message-Id: <24116d80272b13dc1e38eaf0bb3beb7b2f4a5f79.1589477005.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 v2 08/10] fastboot: rename usbgadget.fastboot_* variables to fastboot.* To: barebox@lists.infradead.org Cc: =?UTF-8?q?Daniel=20Gl=C3=B6ckner?= VGhlcmUgaXMgbm90aGluZyBVU0Itc3BlY2lmaWMgaW4gdGhlIGRlZmluZWQgdXNiZ2FkZ2V0LmZh c3Rib290XyoKdmFyaWFibGVzLiBSZW5hbWUgdGhlbSB0byBiZSB1c2FibGUgYWxzbyBmb3IgdGhl IFVEUCBmYXN0Ym9vdCB0cmFuc3BvcnQuCgpUaGUgdXNiZ2FkZ2V0LmZhc3Rib290X2Z1bmN0aW9u IHZhcmlhYmxlIGlzIHVzZWQgdG8gZGVmaW5lIHRoZSBmaWxlcyBhbmQKZGV2aWNlcyBhY2Nlc3Np YmxlIHdpdGggdGhlIGVyYXNlIGFuZCBmbGFzaCBjb21tYW5kcy4gU2luY2UgImZ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