Received: by 10.192.165.156 with SMTP id m28csp710914imm; Mon, 16 Apr 2018 07:31:50 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+dHTnEIVTJftiiSSVYVY+IABWMErxOA2y4WH1MDodb8o6pPBkOFhpgRhdRg0U65m0ehY0f X-Received: by 10.98.152.5 with SMTP id q5mr5984343pfd.178.1523889110441; Mon, 16 Apr 2018 07:31:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523889110; cv=none; d=google.com; s=arc-20160816; b=Wfp67b0QfdZRbLeqbOYsgB7jntTpQTWFBBiucw+EqfpVYZ+pQVRMEFRCVy+6cABt8+ VSrLvJZ8X8FSOpLrGjukeS+gb0zXobxfNnH/Xdbkfivgi4GxlIbFybZVxrh5e3jui+En tBqw4F/Q+NdVKrjX73Gep1E9k6nGNcNpubNmSODkUx9unkYzwqTC0fS+GyW/bG0jJZyN 8u3GDPw9Ej0mE1f0/byOTJhC3bcRRwjJTTforQFdSK6aJtRpb9KQoF4N4+igxBYQEUmg ox9qLtqNH6bAqdElC7/IobzeSiusRLq7WheH4XU3P5VmBLS6FEfGd5uczKfpB2R+jzJd Kn3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date:arc-authentication-results; bh=bZ0gUhK3zPOj9KOSW8Lkfqykyfp2G2ihG1IqFFKSy4I=; b=KZM/cWzAltJdGScHAMwnHhnpMpOlwqt+eAWolb0uBZRsO78/nASgbC4jyYGIpQuX+k Rl1IKp2iOfDteMW7m2vzC5vGPs/OUe2dX/1f1peqFGRv95L96csiQVGsoggMrCqm3H0v fdY/B51K9PBrngaNzx9PFQcSffjqPn+qOVtX5GY+1UWEYig2+oCzgRtLFW9SV1JcYg9V JBZmC3JsIZQGPyxT91a/xbHJkMs4fkT/xwiKExLJnW2ysfbjH0TKfOqx2wZAPqSQrJJX vFszU1GTj/WN/JPxEAa8N5Afyy/m+P1aQ9+5/G77eQt9UAANt8dx4CCyQen4OgkgP01P BPxw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y21-v6si2714989pll.378.2018.04.16.07.31.36; Mon, 16 Apr 2018 07:31:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755098AbeDPLos (ORCPT + 99 others); Mon, 16 Apr 2018 07:44:48 -0400 Received: from esa1.microchip.iphmx.com ([68.232.147.91]:52139 "EHLO esa1.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754273AbeDPLor (ORCPT ); Mon, 16 Apr 2018 07:44:47 -0400 X-IronPort-AV: E=Sophos;i="5.48,459,1517900400"; d="scan'208";a="13858629" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa1.microchip.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 16 Apr 2018 04:44:46 -0700 Received: from localhost (10.10.76.4) by chn-sv-exch07.mchp-main.com (10.10.76.108) with Microsoft SMTP Server id 14.3.352.0; Mon, 16 Apr 2018 04:44:45 -0700 Date: Mon, 16 Apr 2018 13:44:10 +0200 From: Ludovic Desroches To: Romain Izard CC: Nicolas Ferre , Felipe Balbi , Greg Kroah-Hartman , Alexandre Belloni , Ludovic Desroches , , , Subject: Re: [PATCH 2/3] usb: gadget: udc: atmel: Remove obsolete include Message-ID: <20180416114410.GD2750@rfolt0960.corp.atmel.com> Mail-Followup-To: Romain Izard , Nicolas Ferre , Felipe Balbi , Greg Kroah-Hartman , Alexandre Belloni , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-usb@vger.kernel.org References: <20180416093405.16612-1-romain.izard.pro@gmail.com> <20180416093405.16612-3-romain.izard.pro@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20180416093405.16612-3-romain.izard.pro@gmail.com> User-Agent: Mutt/1.9.5 (2018-04-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 16, 2018 at 11:34:04AM +0200, Romain Izard wrote: > The include defines the private platform_data structure used with AVR > platforms. It has no user since 7c55984e191f. Remove it. > > Signed-off-by: Romain Izard Acked-by: Ludovic Desroches > --- > drivers/usb/gadget/udc/atmel_usba_udc.c | 1 - > include/linux/usb/atmel_usba_udc.h | 24 ------------------------ > 2 files changed, 25 deletions(-) > delete mode 100644 include/linux/usb/atmel_usba_udc.h > > diff --git a/drivers/usb/gadget/udc/atmel_usba_udc.c b/drivers/usb/gadget/udc/atmel_usba_udc.c > index 0fe3d0feb8f7..b9623e228609 100644 > --- a/drivers/usb/gadget/udc/atmel_usba_udc.c > +++ b/drivers/usb/gadget/udc/atmel_usba_udc.c > @@ -20,7 +20,6 @@ > #include > #include > #include > -#include > #include > #include > #include > diff --git a/include/linux/usb/atmel_usba_udc.h b/include/linux/usb/atmel_usba_udc.h > deleted file mode 100644 > index 9bb00df3b53f..000000000000 > --- a/include/linux/usb/atmel_usba_udc.h > +++ /dev/null > @@ -1,24 +0,0 @@ > -/* SPDX-License-Identifier: GPL-2.0 */ > -/* > - * Platform data definitions for Atmel USBA gadget driver. > - */ > -#ifndef __LINUX_USB_USBA_H > -#define __LINUX_USB_USBA_H > - > -struct usba_ep_data { > - char *name; > - int index; > - int fifo_size; > - int nr_banks; > - int can_dma; > - int can_isoc; > -}; > - > -struct usba_platform_data { > - int vbus_pin; > - int vbus_pin_inverted; > - int num_ep; > - struct usba_ep_data ep[0]; > -}; > - > -#endif /* __LINUX_USB_USBA_H */ > -- > 2.14.1 >