From patchwork Tue Jul 24 18:08:40 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ruslan Bilovol X-Patchwork-Id: 1232871 Return-Path: X-Original-To: patchwork-linux-omap@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 97968DF25A for ; Tue, 24 Jul 2012 18:09:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933714Ab2GXSIr (ORCPT ); Tue, 24 Jul 2012 14:08:47 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:51619 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933171Ab2GXSIn (ORCPT ); Tue, 24 Jul 2012 14:08:43 -0400 Received: from dlelxv30.itg.ti.com ([172.17.2.17]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id q6OI8gff025373; Tue, 24 Jul 2012 13:08:42 -0500 Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dlelxv30.itg.ti.com (8.13.8/8.13.8) with ESMTP id q6OI8gPA004707; Tue, 24 Jul 2012 13:08:42 -0500 Received: from dlelxv22.itg.ti.com (172.17.1.197) by dfle73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.1.323.3; Tue, 24 Jul 2012 13:08:42 -0500 Received: from localhost (uglx0155540.ucm2.emeaucm.ext.ti.com [10.167.145.75]) by dlelxv22.itg.ti.com (8.13.8/8.13.8) with ESMTP id q6OI8fib029570; Tue, 24 Jul 2012 13:08:42 -0500 From: Ruslan Bilovol To: , , , , , Subject: [PATCH] omap: usb: host: remove deprecated flag 'es2_compatibility' Date: Tue, 24 Jul 2012 21:08:40 +0300 Message-ID: <1343153320-4628-1-git-send-email-ruslan.bilovol@ti.com> X-Mailer: git-send-email 1.7.1 MIME-Version: 1.0 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org Currently this flag is not used anywhere and may be safely removed. Signed-off-by: Ruslan Bilovol --- arch/arm/mach-omap2/usb-host.c | 1 - arch/arm/plat-omap/include/plat/usb.h | 4 ---- 2 files changed, 0 insertions(+), 5 deletions(-) diff --git a/arch/arm/mach-omap2/usb-host.c b/arch/arm/mach-omap2/usb-host.c index dde8a11..5e1cb53 100644 --- a/arch/arm/mach-omap2/usb-host.c +++ b/arch/arm/mach-omap2/usb-host.c @@ -500,7 +500,6 @@ void __init usbhs_init(const struct usbhs_omap_board_data *pdata) ehci_data.regulator[i] = pdata->regulator[i]; } ehci_data.phy_reset = pdata->phy_reset; - ohci_data.es2_compatibility = pdata->es2_compatibility; usbhs_data.ehci_data = &ehci_data; usbhs_data.ohci_data = &ohci_data; diff --git a/arch/arm/plat-omap/include/plat/usb.h b/arch/arm/plat-omap/include/plat/usb.h index 762eeb0..f8c1eb8 100644 --- a/arch/arm/plat-omap/include/plat/usb.h +++ b/arch/arm/plat-omap/include/plat/usb.h @@ -32,9 +32,6 @@ struct usbhs_omap_board_data { /* have to be valid if phy_reset is true and portx is in phy mode */ int reset_gpio_port[OMAP3_HS_USB_PORTS]; - /* Set this to true for ES2.x silicon */ - unsigned es2_compatibility:1; - unsigned phy_reset:1; /* @@ -53,7 +50,6 @@ struct ehci_hcd_omap_platform_data { 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 {