Re: [PATCH] omap: usb: host: remove deprecated flag 'es2_compatibility'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Tue, Jul 24, 2012 at 09:08:40PM +0300, Ruslan Bilovol wrote:
> Currently this flag is not used anywhere and may be safely removed.
> 
> Signed-off-by: Ruslan Bilovol <ruslan.bilovol@xxxxxx>

looks good to me. Keshava ?

> ---
>  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 {
> -- 
> 1.7.1
> 

-- 
balbi

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux