From patchwork Thu Mar 14 10:41:13 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ruslan Bilovol X-Patchwork-Id: 2269371 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 6838C3FC8A for ; Thu, 14 Mar 2013 10:42:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757253Ab3CNKm3 (ORCPT ); Thu, 14 Mar 2013 06:42:29 -0400 Received: from mail-ea0-f180.google.com ([209.85.215.180]:52246 "EHLO mail-ea0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756870Ab3CNKl1 (ORCPT ); Thu, 14 Mar 2013 06:41:27 -0400 Received: by mail-ea0-f180.google.com with SMTP id j14so882347eak.39 for ; Thu, 14 Mar 2013 03:41:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:subject:date:message-id:x-mailer :in-reply-to:references; bh=3sMdQjChjSks/kfu7lf6ALJ22P8osBvP1dfOK3a1dsE=; b=bwc6TYlCCAkKg6+woFh0AWY9rnuNNjqhzS4bNMpWw3CT7mE290IdDtkg5hEVxPAHEB TrIQ/Dtztn5zG4evT0OoADdiTrw7wgMiiDae5tXh80bQH5BC8MQOvhSM07rPL5A7rF6m rECy0Am8+NWFFpUQpgIletTqFIWLh8GrvI8uT5T2/r0sg7qehl5wrM8SnZ2ZRpyWqHDa b7xOwlIQyHfoO2lvuYgL+Awawbr2yVPRJufNu2iuSaDTgndZJFQ885aOO3usmkSeoWuF DgLWy9jytEzDgvHA8J08OIwC0Dq90h+Y2XHUIptl1D7zyHhlSAnQAsbMP2xJUGc336s0 cpsg== X-Received: by 10.14.220.135 with SMTP id o7mr5706212eep.3.1363257685444; Thu, 14 Mar 2013 03:41:25 -0700 (PDT) Received: from localhost ([195.238.93.36]) by mx.google.com with ESMTPS id 3sm2760671eej.6.2013.03.14.03.41.23 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 14 Mar 2013 03:41:24 -0700 (PDT) From: Ruslan Bilovol To: balbi@ti.com, tony@atomide.com, rogerq@ti.com, linux-omap@vger.kernel.org, linux-usb@vger.kernel.org Subject: [PATCH v2 1/1] omap: usb: host: remove deprecated flags and structures Date: Thu, 14 Mar 2013 12:41:13 +0200 Message-Id: <1363257673-24136-2-git-send-email-ruslan.bilovol@ti.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1363257673-24136-1-git-send-email-ruslan.bilovol@ti.com> References: <1363257673-24136-1-git-send-email-ruslan.bilovol@ti.com> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org These flags and structures are deprecated and there is no anymore users of them, so it's safe to remove them. Signed-off-by: Ruslan Bilovol Acked-by: Felipe Balbi Acked-by: Roger Quadros --- include/linux/platform_data/usb-omap.h | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/include/linux/platform_data/usb-omap.h b/include/linux/platform_data/usb-omap.h index fa579b4..4c7acbe 100644 --- a/include/linux/platform_data/usb-omap.h +++ b/include/linux/platform_data/usb-omap.h @@ -38,34 +38,14 @@ enum usbhs_omap_port_mode { OMAP_OHCI_PORT_MODE_TLL_2PIN_DPDM }; -struct usbtll_omap_platform_data { - enum usbhs_omap_port_mode port_mode[OMAP3_HS_USB_PORTS]; -}; - -struct ehci_hcd_omap_platform_data { - enum usbhs_omap_port_mode port_mode[OMAP3_HS_USB_PORTS]; - int reset_gpio_port[OMAP3_HS_USB_PORTS]; - struct regulator *regulator[OMAP3_HS_USB_PORTS]; - unsigned phy_reset:1; -}; - -struct ohci_hcd_omap_platform_data { - enum usbhs_omap_port_mode port_mode[OMAP3_HS_USB_PORTS]; - unsigned es2_compatibility:1; -}; - struct usbhs_omap_platform_data { int nports; enum usbhs_omap_port_mode port_mode[OMAP3_HS_USB_PORTS]; int reset_gpio_port[OMAP3_HS_USB_PORTS]; struct regulator *regulator[OMAP3_HS_USB_PORTS]; - struct ehci_hcd_omap_platform_data *ehci_data; - struct ohci_hcd_omap_platform_data *ohci_data; - /* OMAP3 <= ES2.1 have a single ulpi bypass control bit */ unsigned single_ulpi_bypass:1; - unsigned es2_compatibility:1; unsigned phy_reset:1; };