From patchwork Thu Jan 5 13:46:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 13090597 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7FA70C3DA7A for ; Thu, 5 Jan 2023 22:14:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=t7nqRPl96PZQF1h7mcUCXpzyUG/dvXKIUyjPOU46CAQ=; b=hGJf7pKWTfs655 GZcZosKepgokLjWPkCNGAKi/ZuuQuMwaeNkKASe2kUrOuVXj3tCVeWaqeVlo6xXCVAkOln3Kla2HI wi/RoF36cBLViwhDjGZfiMpWPGRY1+ZUujz7NIWGrZLrKhPAS5Ob8+xKfZQ9MRy17iO1LOox2mk/5 +7PegSvUmLbrOEmxzM4tnsCJdlHI3o313j1FRk4AcobOEELT901gOJYFfwdLrteSht2XSJ7SoePHz lEFJDFYd5yFzZLs3TDHav/zWIayOB1M6U3aysZdYy5xNsXm15gdVIPlA2BuTQCnWZuMtKyuEieNIR QVYg5XIthqtQ/zoqHXnQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pDYU2-00FTH9-8X; Thu, 05 Jan 2023 22:13:11 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pDVCq-00Dlu2-Rp for linux-arm-kernel@bombadil.infradead.org; Thu, 05 Jan 2023 18:43:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Transfer-Encoding:MIME-Version :References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description; bh=iHW/9ToJ3YBmz7/TmGmpqKqBrmGq/TRvgUxzwQk5SDA=; b=MyI4kfbV0I6PMgOEQrHZHTYFUY 0gjFwgDi6GX+AMy9v5/6NMxPNWTp5gv2T+r6dl31KE+2xXI4pNh6O90kQlpqEaTb55CzL9pvhUMzi G9YWsfGad5HM7qw3YfxHwOpC9gblq0LUtnX35G4zI6tVQHd3oHWYWd30CIw6qJhQgANqGiaRRUprU lUVorckkLzO2oCh0ulEG3IbxIZZWvqgzpK0qEAEdUeyU76OIjT4DBh86Clvaj2bib/ZYkJSHDYThR sI6varb5VhyySCBUqZURuNOIg2fWM4Xq53+K1Oq8B3vaZiYprtFv3IC9KiGrPF7JGhDQLTV5Tx6tm Ic0zzjlQ==; Received: from dfw.source.kernel.org ([139.178.84.217]) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pDQau-001MAY-35 for linux-arm-kernel@lists.infradead.org; Thu, 05 Jan 2023 13:47:46 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id CDDCF61A94; Thu, 5 Jan 2023 13:47:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9444AC433F0; Thu, 5 Jan 2023 13:47:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672926469; bh=d0VrXYd1VyYVae2y2CAy3hUeqsRl1cgMCNli4yO+pUo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RQuGSNp/u2tEo+5T1yDVTtDX4qUoeT9odKXq04i0UiXXPygKlF3dYc6nF52cQ48Ui 1RYy6HGwyQkX9x8aYtA4C0bU9X6dpGGS0aGt63yOQdQGH1Edsn8U4MP8qKvloeGr6c HIunvU2oa6PkEoPIK+w/fOI8HnDcqM+j2EGLOZJ5wcIaELEPDpI2wyLcInGmjFZXgG G0oyEBQf3j2DhwqwyX1bRSjBH+Pjlbo9PfW0bBNAoWwIckxGmOMxiVuKPRyXYB2f1B 0MIIBuEn5jnjnzhhVO+kyti45FYgdM30mZNuNdi/HAcj4kmMqDD1rt1LnjNnUNpsZj Mh3okR/KgYpwg== From: Arnd Bergmann To: Robert Jarzmik Cc: Daniel Mack , Haojian Zhuang , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Arnd Bergmann , Alan Stern , Greg Kroah-Hartman , linux-usb@vger.kernel.org Subject: [PATCH 25/27] usb: remove ohci-tmio driver Date: Thu, 5 Jan 2023 14:46:20 +0100 Message-Id: <20230105134622.254560-26-arnd@kernel.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20230105134622.254560-1-arnd@kernel.org> References: <20230105134622.254560-1-arnd@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230105_134745_251183_24F3A558 X-CRM114-Status: GOOD ( 15.38 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Arnd Bergmann The TMIO MFD driver is getting removed, so its OHCI portion is not used any more either. Cc: Alan Stern Cc: Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org Signed-off-by: Arnd Bergmann --- drivers/usb/host/ohci-hcd.c | 18 -- drivers/usb/host/ohci-tmio.c | 364 ----------------------------------- 2 files changed, 382 deletions(-) delete mode 100644 drivers/usb/host/ohci-tmio.c diff --git a/drivers/usb/host/ohci-hcd.c b/drivers/usb/host/ohci-hcd.c index 0457dd9f6c19..4f9982ecfb58 100644 --- a/drivers/usb/host/ohci-hcd.c +++ b/drivers/usb/host/ohci-hcd.c @@ -1264,11 +1264,6 @@ MODULE_LICENSE ("GPL"); #define SM501_OHCI_DRIVER ohci_hcd_sm501_driver #endif -#ifdef CONFIG_MFD_TC6393XB -#include "ohci-tmio.c" -#define TMIO_OHCI_DRIVER ohci_hcd_tmio_driver -#endif - static int __init ohci_hcd_mod_init(void) { int retval = 0; @@ -1306,19 +1301,9 @@ static int __init ohci_hcd_mod_init(void) goto error_sm501; #endif -#ifdef TMIO_OHCI_DRIVER - retval = platform_driver_register(&TMIO_OHCI_DRIVER); - if (retval < 0) - goto error_tmio; -#endif - return retval; /* Error path */ -#ifdef TMIO_OHCI_DRIVER - platform_driver_unregister(&TMIO_OHCI_DRIVER); - error_tmio: -#endif #ifdef SM501_OHCI_DRIVER platform_driver_unregister(&SM501_OHCI_DRIVER); error_sm501: @@ -1345,9 +1330,6 @@ module_init(ohci_hcd_mod_init); static void __exit ohci_hcd_mod_exit(void) { -#ifdef TMIO_OHCI_DRIVER - platform_driver_unregister(&TMIO_OHCI_DRIVER); -#endif #ifdef SM501_OHCI_DRIVER platform_driver_unregister(&SM501_OHCI_DRIVER); #endif diff --git a/drivers/usb/host/ohci-tmio.c b/drivers/usb/host/ohci-tmio.c deleted file mode 100644 index 49539b9f0e94..000000000000