Re: [PATCH] USB: OHCI: ohci-at91: remove unnecessary headers

From: Felipe Balbi
Date: Thu Oct 16 2014 - 13:35:18 EST


On Thu, Oct 16, 2014 at 05:52:38PM +0200, Alexandre Belloni wrote:
> Remove unnecessary mach/* headers to be able to converge to a multiplatform
> kernel.
>
> Signed-off-by: Alexandre Belloni <alexandre.belloni@xxxxxxxxxxxxxxxxxx>

Very nice

Reviewed-by: Felipe Balbi <balbi@xxxxxx>

> ---
> drivers/usb/host/ohci-at91.c | 4 ----
> 1 file changed, 4 deletions(-)
>
> diff --git a/drivers/usb/host/ohci-at91.c b/drivers/usb/host/ohci-at91.c
> index e49eb4f90f5d..6181549883af 100644
> --- a/drivers/usb/host/ohci-at91.c
> +++ b/drivers/usb/host/ohci-at91.c
> @@ -24,12 +24,8 @@
> #include <linux/usb.h>
> #include <linux/usb/hcd.h>
>
> -#include <mach/hardware.h>
> #include <asm/gpio.h>
>
> -#include <mach/cpu.h>
> -
> -
> #include "ohci.h"
>
> #define valid_port(index) ((index) >= 0 && (index) < AT91_MAX_USBH_PORTS)
> --
> 1.9.1
>

--
balbi

Attachment: signature.asc
Description: Digital signature