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: 10393869 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 75637601A0 for ; Fri, 11 May 2018 10:22:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 46B1228C7B for ; Fri, 11 May 2018 10:22:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3863A28E24; Fri, 11 May 2018 10:22:44 +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=-2.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A9BAF28C7B for ; Fri, 11 May 2018 10:22:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=o1AyUQxyiNd7P84jwa9EX8NZju/IFVreaDRxutTFs6I=; b=H7g+IegFppQbEwR6CpZVbhlX+L 5pO1mctSlSmRkkMFni5/EFLblZqaVKXh+aAHxdFbaKcZShu+MlerQYMnCgF+YRN+jHT0UlaTocTZk Lufz8Z3X8+v80q+fALAXelYxTodeBwkK5xJZ2HLRbDYSyn8bmAy+xiUIEZcihO2eo9gtn/9P35aTu PNcGcFk8QxJx7bs4wOGeEt1kD7woFyAxABzEHSoR/gcTHYyeNmDCojEtGqV7QVi0J449RCOXfJoxM E1QmNruCgWqjAgwzrxWyaKmWLjNhq96FAWAwOErS0xMFAxci0HosNg9Ge7U3+eTEbVKBkxoGHN+Be dEkqByNg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fH5C6-0004sb-Lv; Fri, 11 May 2018 10:22:34 +0000 Received: from mail-wr0-x244.google.com ([2a00:1450:400c:c0c::244]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fH5AM-0003oL-1g for linux-arm-kernel@lists.infradead.org; Fri, 11 May 2018 10:20:48 +0000 Received: by mail-wr0-x244.google.com with SMTP id a12-v6so4788701wrn.13 for ; Fri, 11 May 2018 03:20:35 -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=tzUrn63P1OHDmAyKHo0YoCzYsdn1mMJ97r+p72S+9gO+PyRvCJbdZMF2JVA9Ahc/rK ckeuUwVF4NOFAhHTWw4WsTM9co9c2noRBmvdBvZLHycFyyvBPii6z/VymzoFWbkZhLA5 ci2blzlmN2U4xmZwtTh4KBstdHKpcPTt0mVX12XdZN+diJ14mR8ZV1CEUsJOKFOGpE7K E/XaRN25TBwImIoUV3EhjS0xXt21QsJicM8oYr6CGFTuMVwDx+ER0CB7gZZbJSKQudiy aGr69o3Ke5XmCXKZRyofGCFBnZy5FB1z0zGrqlU6UH8ZxIkBFNGva3tMVNEXvh7casoC t/qg== X-Gm-Message-State: ALKqPwfY4DhUbB6XAfoy/kGpamXWaftFjYmHQgKTXSfazpPkHz+z13c6 y3ld9muNeFu4EbhhaaSYo7M= 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180511_032046_204329_2BA189DA X-CRM114-Status: GOOD ( 12.86 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Romain Izard , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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 */