From patchwork Tue Feb 5 10:25:46 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 10797239 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 920F313BF for ; Tue, 5 Feb 2019 10:26:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7F6D72B5E6 for ; Tue, 5 Feb 2019 10:26:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 731D52B613; Tue, 5 Feb 2019 10:26:21 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 224702B5E6 for ; Tue, 5 Feb 2019 10:26:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729251AbfBEK0P (ORCPT ); Tue, 5 Feb 2019 05:26:15 -0500 Received: from mail-wm1-f68.google.com ([209.85.128.68]:40340 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729176AbfBEK0B (ORCPT ); Tue, 5 Feb 2019 05:26:01 -0500 Received: by mail-wm1-f68.google.com with SMTP id f188so2973308wmf.5 for ; Tue, 05 Feb 2019 02:26:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=YI7lGj6dJe+1jKSiIdUHdLpV0CJALW0y9vtqdcoWmhk=; b=iWoQrZmyEXVVLnvOIwM5PQVAvKBfwG5luEZW9f/zDaI2O4VZYwnJCOCGzKO1drdajw Jdlx8uDUelkhDw43lxxSIyJGcXjRLaiQDOH9BVqwz0RpcCMstHnysgTHdOqNqVw7AKIR AYv0VaP/sxhn1yM5VsVReX1iSJUPvHn5MqhZW0KyemDeSCMwk+S15yELF9t7Tt7yK3Jr WQUqzNXLO8AeVqz5eIKSAmPVxMtgP/Wb+mK4pL+g/BSJcq27apRzQkMo1J1ikntkZjzO 2iD3KHv2uD8Tx3sY+stWfw78sW5kiMD14wUO1UtIlMU1qjIiHrUzGkrACEJoH+1RkFOt 5+pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=YI7lGj6dJe+1jKSiIdUHdLpV0CJALW0y9vtqdcoWmhk=; b=fph00Z58Ue0ZG0L/XwH6PvyrGrCyQB21/LI15/W+DCvuvyYYiHWtDSSWkmEZO/U9JT 6tVn6aFwp+mdfQawLLq9pGKZv/KVvUPMgy1p7lm/nsXF++UCiWFY6suKRUO9OOXdGh/O lXBxCcT1HLtSOwVc+tD2h6yjRTE//0tnbKda1u8Wffn0/hXybqjbpBmAJs6GsH+644N/ fLsisuK8YKFf5C+ZmoP75RNCI1sVnl64GWf+Ji82hvsIZjEBLJT4KaZp0sYQ2Y/1i6P0 uhdbBdRjYrzTYXyVFTQ+PrgAOFzlmiawVFUXcExXImaLGJY0vTsJDeetHDaqvBSD2NzV GAeA== X-Gm-Message-State: AHQUAubPxNDOlYFLXIx7uuwhMd1ZhDcDDWEUAm+ZV9AwOlVA5NHkTokZ slEgPUj1kuZEEwkcWZKfujEksXBqeIU= X-Google-Smtp-Source: AHgI3IZ4nPR1E+2u8hkBsTrLXyxyY8xsYuSmFe0pJpeHIc2QhG7pGS242qb/Zai3zg/pyR/6JexZLQ== X-Received: by 2002:a1c:ab87:: with SMTP id u129mr3137760wme.104.1549362359927; Tue, 05 Feb 2019 02:25:59 -0800 (PST) Received: from debian-brgl.home ([2a01:cb1d:af:5b00:6d6c:8493:1ab5:dad7]) by smtp.gmail.com with ESMTPSA id r11sm5132396wrx.75.2019.02.05.02.25.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 Feb 2019 02:25:59 -0800 (PST) From: Bartosz Golaszewski To: Sekhar Nori , Kevin Hilman , Alan Stern , Greg Kroah-Hartman Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, Linus Walleij , Bartosz Golaszewski Subject: [PATCH 8/8] usb: ohci-da8xx: remove unused callbacks from platform data Date: Tue, 5 Feb 2019 11:25:46 +0100 Message-Id: <20190205102546.29457-9-brgl@bgdev.pl> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190205102546.29457-1-brgl@bgdev.pl> References: <20190205102546.29457-1-brgl@bgdev.pl> MIME-Version: 1.0 Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Bartosz Golaszewski There are no more users of these callbacks. Signed-off-by: Bartosz Golaszewski --- include/linux/platform_data/usb-davinci.h | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/include/linux/platform_data/usb-davinci.h b/include/linux/platform_data/usb-davinci.h index 0926e99f2e8f..879f5c78b91a 100644 --- a/include/linux/platform_data/usb-davinci.h +++ b/include/linux/platform_data/usb-davinci.h @@ -11,22 +11,8 @@ #ifndef __ASM_ARCH_USB_H #define __ASM_ARCH_USB_H -struct da8xx_ohci_root_hub; - -typedef void (*da8xx_ocic_handler_t)(struct da8xx_ohci_root_hub *hub, - unsigned port); - /* Passed as the platform data to the OHCI driver */ struct da8xx_ohci_root_hub { - /* Switch the port power on/off */ - int (*set_power)(unsigned port, int on); - /* Read the port power status */ - int (*get_power)(unsigned port); - /* Read the port over-current indicator */ - int (*get_oci)(unsigned port); - /* Over-current indicator change notification (pass NULL to disable) */ - int (*ocic_notify)(da8xx_ocic_handler_t handler); - /* Time from power on to power good (in 2 ms units) */ u8 potpgt; };