From patchwork Fri May 11 10:19:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Izard X-Patchwork-Id: 10393863 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 688DC60153 for ; Fri, 11 May 2018 10:21:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3468228AD4 for ; Fri, 11 May 2018 10:21:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 28F4328DE7; Fri, 11 May 2018 10:21:24 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9881F28AD4 for ; Fri, 11 May 2018 10:21:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753015AbeEKKVH (ORCPT ); Fri, 11 May 2018 06:21:07 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:40503 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752894AbeEKKUf (ORCPT ); Fri, 11 May 2018 06:20:35 -0400 Received: by mail-wr0-f194.google.com with SMTP id v60-v6so4802123wrc.7; Fri, 11 May 2018 03:20:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=/Z8eEoyGW9JfHyPywAaoUDPT5+ZHdr2jgPej6pEcdaU=; b=O9QqwmCtb8PTMUtjIQW+7gyG6N17ScOiPFXD/U9zvJMFyRoSrz1E44dYMu6jBDMBnT 16V7Cxjag0WZNLShHwIUxaB86hnj0373/vDeE6Lj+WV8+MnuhXxEHNNukwdGlzpFpWHq QHpxVnUZXtH9Zr6bOPI/6+CdoJ06/B0g7nszNnT7wE9A9xRkc9xhIdFREXOg+YYwb7fn FcYr54XalbVjxhGeGtRavFAWjOgukhS+4hx9FTC1NmrObFjFPwqBhexvKRL3gpfOeRg5 g8K+r6yBs74OoCTvol/pGWCwI4k/NFbnbU86L0j6GLjDPa5eSS3F9pv0ObLhN3ywifZj FXkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=/Z8eEoyGW9JfHyPywAaoUDPT5+ZHdr2jgPej6pEcdaU=; b=FsNi+f/4UBvz+mci4DNIQNzRuDoCDL5pb4Re2v2b4h2YGUrZBbyRMWek2CYx2N+Ygc ztbMmX7ygjncue3vmjEE1i7X8rsWR0n00l/IiIdKWGgFHNQKEUOvRAC6RfZLfkRmzsHS 88sTx0ZZTRI2wlYK0kycYGbelnq6eN89qrjxDNZsXJIesa5koVaGHyC8gBgJO/Z6mAfK M1lqOxOHJBFY33POC3ElkYcZM02XGXLVBLPJtIgQ3rXpbmItg/2fY/5tHhx3SlpvjXsi t6WY/Kmbru8J8l6iYNT7FgEMmNDy26RhrQW5KkPIQHJOn5aqkullKdmhVcHlKct5tiLt IUVg== X-Gm-Message-State: ALKqPweKDVDrhgDVKUSbBZwran+donDPMShxzPEE5YhKDlBXXz8KkV1e 0YWXjLDsbVLZr2QOGDMqya0= X-Google-Smtp-Source: AB8JxZo/6zLcVuha6lFRyzGUiMCdeqm7ob7TcyoMVaHQdrnbO9tLnwBkoM+33YHuyhTP/qviNcrp3w== X-Received: by 2002:adf:9162:: with SMTP id j89-v6mr4069359wrj.196.1526034034342; Fri, 11 May 2018 03:20:34 -0700 (PDT) Received: from localhost.localdomain (ram94-11-88-187-113-157.fbx.proxad.net. [88.187.113.157]) by smtp.gmail.com with ESMTPSA id 33-v6sm3036418wrs.5.2018.05.11.03.20.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 May 2018 03:20:33 -0700 (PDT) From: Romain Izard To: Nicolas Ferre , Felipe Balbi , Greg Kroah-Hartman , Alexandre Belloni , Ludovic Desroches Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-usb@vger.kernel.org, Romain Izard Subject: [PATCH v2 2/3] usb: gadget: udc: atmel: Remove obsolete include Date: Fri, 11 May 2018 12:19:55 +0200 Message-Id: <20180511101956.11782-3-romain.izard.pro@gmail.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180511101956.11782-1-romain.izard.pro@gmail.com> References: <20180511101956.11782-1-romain.izard.pro@gmail.com> Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The include defines the private platform_data structure used with AVR platforms. It has no user since 7c55984e191f. Remove it. Acked-by: Ludovic Desroches Acked-by: Nicolas Ferre Signed-off-by: Romain Izard --- 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 */