Received: by 10.213.65.68 with SMTP id h4csp1074982imn; Wed, 14 Mar 2018 08:52:55 -0700 (PDT) X-Google-Smtp-Source: AG47ELvXb7LXV/c30ycNkzkhY9tqBfWjseXSl1wYoYjLmIHfHwIbuK9aHW/rSpKRLbDh4SP92+Yy X-Received: by 10.99.160.17 with SMTP id r17mr4102926pge.127.1521042775620; Wed, 14 Mar 2018 08:52:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521042775; cv=none; d=google.com; s=arc-20160816; b=sT4HB/LixfhAgPoUDAR/q4FZDkD+nCl5uzqHHk1hg6ehxOhNC84JD77iB3agnNqSXg 9DagWTYhkbRy98CbWyFwzODOq3/tERwtsQaRRdbg04Xl05H2bDXuoVEFQSFSc8nsiZDs h0Izqlp+fDJxmrIeAL/lytLg9iLKsyPZA1fLNE7rRBgOzvT4e19Xu9yUiaz/PVnX2ZLW xQiZ0pgyNRNOowfZIuaYDPDdPZkVQj50flZYCWcLkNuwfUeEFAb64D72JBiq6CGeXHf9 UxNTcMOU3WeHxNMKvb4iCJ1iih6N2petSHWL8P2Rp6rY3+YZ0O52/VATWdJl9QlRsCco Ro5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=ZeaWOQdC3PVzW/gMQh2mEtB/kusxr5VD9JiA3E4nYfI=; b=FkCtiG/CbfKQ0f6UN1LRN85UrLa9FLWYfS3HSBxJ5bJa0dAlN2f/i8WgHsA6YDtlgX TsRgbVeoInfSzdL5JyzQLv2XlcUmkckXjqhw+Pdenzt7oO5YExjir8a4ipipdJ2ooKGP WuD31w72WhqJa7bazR3qzzQxtZVKKmITQ8nDv9v3/L6vgrLkg0wa20Tg0Cstak/AeYKK K09RmuQNtLSY/ler6YoGgNaSc/RMu8BOA99KkuNyjEf+lJehVZf8uXKOIEjbmL78dVu/ uQlJGMzzxL9+i78rLPfAJttkxlzurO02piqOU3jbgQzXj/IVC2Nh3J66/cwtDwCrwQzM 5I/w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o27si2301432pfi.119.2018.03.14.08.52.37; Wed, 14 Mar 2018 08:52:55 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752316AbeCNPvL (ORCPT + 99 others); Wed, 14 Mar 2018 11:51:11 -0400 Received: from mout.kundenserver.de ([212.227.126.135]:60539 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751314AbeCNPvJ (ORCPT ); Wed, 14 Mar 2018 11:51:09 -0400 Received: from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de (mreue002 [212.227.15.129]) with ESMTPA (Nemesis) id 0Lst7y-1eUCgq2wji-012V3h; Wed, 14 Mar 2018 16:51:06 +0100 From: Arnd Bergmann To: linux-kernel@vger.kernel.org Cc: Arnd Bergmann , Alan Stern , Greg Kroah-Hartman , linux-usb@vger.kernel.org Subject: [PATCH 37/47] usb: host: remove tilegx platform glue Date: Wed, 14 Mar 2018 16:35:50 +0100 Message-Id: <20180314153603.3127932-38-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20180314153603.3127932-1-arnd@arndb.de> References: <20180314153603.3127932-1-arnd@arndb.de> X-Provags-ID: V03:K0:sNkax9zC0DvKA08oxvcxQWxYSIkII+8IqCzAECGytTcTXCGqi10 6djqTCwUyUmSztE4gM7Kit+aB/I400adV72KDYop4vOQ4f9pQtQoglpTAMSrE3OjdR0aRZ8 uOf0wRftBtz8JpKa8EM92okA7MpVU0wygVn1gsEo6M0/xUsxj7TBl+SCsLYziTqs6W/QSRT EpYBXXFHDIzIbf9MNq5eA== X-UI-Out-Filterresults: notjunk:1;V01:K0:wYcj51V7Ick=:zSgacM6N7bKBjTy1GzhUbO YohRzpNcs30mNm18GgxeoQ5r/J8kq8ltsPjOf4mOe8bsvxQmTjnd47/V42zdbJDjW4oEjEhx5 6DG1i1BnhLXTmVPYG9p2XLUM2LOLXjK3HOwgPlZh34lwTHlUXZsS+/5g6rPnPB893Fgb2+OgC mR2Eq4HKJIEnzQlNxvTGRXTBS5HtiM9ECBOcQ3QyCaCt3kqXwChbg8u785pc/kV+1ZN1+u50o GUZj+yPRIplhOtOv+tmmOPgP0wuePgITn4rStp7OouxUh1T/xVdIIeTajx1SCcM884VHD90md DSuBKYcq4Rjxl8zC96sgxRaLnXcpOXAJtA1zhVQ2M5yVnkulKLDmCXYMvsU0H0/eJhMQo4HZ+ rel2qZur8YJRSANSOuv9VeRqvSnIqP5qcUwodg/6IVoBBqG3ho37w62F5lSag9dlxXXzvYBFw XudmpDogvZfhtcL8w3OKt9vLZlGuX5txGzqHTbdpCnbBYTTIGpaIxQCuqylQalRAFZK6GxgZK Obvt/svTWTWXFaheqIdYnaB0nbG+EOeJHVc45zs8igY9Sbr6f1C7PBY8mSqoNp8gBM2hWQKMA ANfM6/tOvf2z2d97a+ws5D8seuaOYrdi2Zm/6HeR0V+YYBQfsH5b9Kik5LfIQsvSaWZkYv2SY lkNPJsmED7mP+zzrNojsJxMeRv+9MFwpS6zPy0ypONkLd38OUJY21OcCSuJtrp5NvG5kmSbZs j6RP3rdVMKo7Z/0Byu4RLKNqz+6DzvwFgw7+2A== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The tile architecture is getting removed, so the ehci and ohci platform glue drivers are no longer needed. In case of ohci, this is the last one to define a PLATFORM_DRIVER macro, so we can remove even more. Signed-off-by: Arnd Bergmann --- drivers/usb/host/ehci-hcd.c | 5 - drivers/usb/host/ehci-tilegx.c | 207 ----------------------------------------- drivers/usb/host/ohci-hcd.c | 18 ---- drivers/usb/host/ohci-tilegx.c | 196 -------------------------------------- include/linux/usb/tilegx.h | 35 ------- 5 files changed, 461 deletions(-) delete mode 100644 drivers/usb/host/ehci-tilegx.c delete mode 100644 drivers/usb/host/ohci-tilegx.c delete mode 100644 include/linux/usb/tilegx.h diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c index 7f0737449df7..d927adf3afcd 100644 --- a/drivers/usb/host/ehci-hcd.c +++ b/drivers/usb/host/ehci-hcd.c @@ -1275,11 +1275,6 @@ MODULE_LICENSE ("GPL"); #define XILINX_OF_PLATFORM_DRIVER ehci_hcd_xilinx_of_driver #endif -#ifdef CONFIG_TILE_USB -#include "ehci-tilegx.c" -#define PLATFORM_DRIVER ehci_hcd_tilegx_driver -#endif - #ifdef CONFIG_USB_EHCI_HCD_PMC_MSP #include "ehci-pmcmsp.c" #define PLATFORM_DRIVER ehci_hcd_msp_driver diff --git a/drivers/usb/host/ehci-tilegx.c b/drivers/usb/host/ehci-tilegx.c deleted file mode 100644 index 610ed437ed2c..000000000000 diff --git a/drivers/usb/host/ohci-hcd.c b/drivers/usb/host/ohci-hcd.c index 84f88fa411cd..199f1b7a91a3 100644 --- a/drivers/usb/host/ohci-hcd.c +++ b/drivers/usb/host/ohci-hcd.c @@ -1244,11 +1244,6 @@ MODULE_LICENSE ("GPL"); #define TMIO_OHCI_DRIVER ohci_hcd_tmio_driver #endif -#ifdef CONFIG_TILE_USB -#include "ohci-tilegx.c" -#define PLATFORM_DRIVER ohci_hcd_tilegx_driver -#endif - static int __init ohci_hcd_mod_init(void) { int retval = 0; @@ -1273,12 +1268,6 @@ static int __init ohci_hcd_mod_init(void) goto error_ps3; #endif -#ifdef PLATFORM_DRIVER - retval = platform_driver_register(&PLATFORM_DRIVER); - if (retval < 0) - goto error_platform; -#endif - #ifdef OF_PLATFORM_DRIVER retval = platform_driver_register(&OF_PLATFORM_DRIVER); if (retval < 0) @@ -1322,10 +1311,6 @@ static int __init ohci_hcd_mod_init(void) platform_driver_unregister(&OF_PLATFORM_DRIVER); error_of_platform: #endif -#ifdef PLATFORM_DRIVER - platform_driver_unregister(&PLATFORM_DRIVER); - error_platform: -#endif #ifdef PS3_SYSTEM_BUS_DRIVER ps3_ohci_driver_unregister(&PS3_SYSTEM_BUS_DRIVER); error_ps3: @@ -1353,9 +1338,6 @@ static void __exit ohci_hcd_mod_exit(void) #ifdef OF_PLATFORM_DRIVER platform_driver_unregister(&OF_PLATFORM_DRIVER); #endif -#ifdef PLATFORM_DRIVER - platform_driver_unregister(&PLATFORM_DRIVER); -#endif #ifdef PS3_SYSTEM_BUS_DRIVER ps3_ohci_driver_unregister(&PS3_SYSTEM_BUS_DRIVER); #endif diff --git a/drivers/usb/host/ohci-tilegx.c b/drivers/usb/host/ohci-tilegx.c deleted file mode 100644 index d21ca3ce9a30..000000000000 diff --git a/include/linux/usb/tilegx.h b/include/linux/usb/tilegx.h deleted file mode 100644 index 817908573fe8..000000000000 -- 2.9.0