From patchwork Mon Apr 16 09:34:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Izard X-Patchwork-Id: 10342461 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 5840160365 for ; Mon, 16 Apr 2018 09:36:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 47A9F285DE for ; Mon, 16 Apr 2018 09:36:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3C248285E1; Mon, 16 Apr 2018 09:36: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=-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 91602285DE for ; Mon, 16 Apr 2018 09:36:23 +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=o/OI5EjM+F67R8RMIGwA2DFKRiir/kvPa33Av0efkus=; b=fDmjI6rDRvMqEMH6XLY2ZAOwd/ j5NCuixuWyM4H/yLOGPaaDTqXIHKmYT7mfXXUJIiGI9e1EfdNWeh9DDvUPg1tbyxeG4RbnqxkWVid r1rh/6WszCU1MC8t3WRCQ0weJ22SHlgQWYM22n/2oNM3pe41bqcjBkCKEu8aa4GbMKpUp2VGLl280 0Yr0zV2U5Xa2IEG30ePrLNOs7uDynG54lT/2LxjZHr0B+Mu7AtZQCiCrRqGKKla/x6+P7+fEHB+O1 QI5hwoNBRpfvHE0lgjiu+J1iqHPwBjmncpMtvtXfxF3CclOWWR/i4IpbXKvDnJ9xsk626faqMHOJv oDds/nwQ==; 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 1f80Yb-0003JJ-QW; Mon, 16 Apr 2018 09:36:17 +0000 Received: from mail-wr0-x242.google.com ([2a00:1450:400c:c0c::242]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1f80XZ-0001oq-R7 for linux-arm-kernel@lists.infradead.org; Mon, 16 Apr 2018 09:35:16 +0000 Received: by mail-wr0-x242.google.com with SMTP id v24so6945838wra.8 for ; Mon, 16 Apr 2018 02:35:05 -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=dJ58SO31jfcCuN3+GA+adWqLf++xDOIs9AuvKNNVSyY=; b=HRnriMv87MoS7Fm98nEgCjw3kc7caVSTW2nSxVv06QkM6Xb8rfhMh7SpgvS5yTQctV RwhbCySthU3rUth7pUOxVfkpMbWGHVPNcBK+q35lgTXZ/GClq1jlhrkf0NGiGKWwaG1l 0isQX9FeA+GoLigHk5FljcGe1z1OULSiiP4q6ry3KfhsPNzgQhzecSAmxr4wjBLcUEKl t72AIVJPZLmHqwsCEAGYLC2gsg9K/rWNfbxYbiM2jZ2U0DicX+1UgHFXhcq1uCuv/M32 6nz7Xfmw2/mFwMkLHCMPVo17WX6nld2txna9hOdeMzOFDvIOIsppVMnBkIt4M0LWdpmw Z4Sw== 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=dJ58SO31jfcCuN3+GA+adWqLf++xDOIs9AuvKNNVSyY=; b=YAdgZVL1opnrIdi1+KmeKGg//lDO8uo+JHZI4jP+YMCvCXBMKPlrQz1hDTAm8Brokv g37dZ0cinM+ZPBfZdkYBHIGyHgbW3L/oRFYDDaqvZMr5H+H8Tkg19EGz+FMjy7eCJyjq A0XYVex7IiGLJUIAYdsuaTWRmt2YVk0LXzbixm4i7ldpzDgAO/UKXjjBQotvoCXkVaGC INDOQzvix5M7pqjsowmMRVRsgPftDp/mMzADb4aBVaBlQbjTXxaaJFfVOkgjr/sBa9Ic E9xGvSFUckihqzKa+UyMCLVBnExTpo3Wku9ahRaRPjyfh5zCyXRRGwODTLiRRDfHOVkb s8+A== X-Gm-Message-State: ALQs6tBXwo93J0lGwMFXR2u8ifMiLqcuHUHliNcYIOt8NBR4fA0Y7KZ8 LbBIlYkXFEs/zBvmqrU2Ac0= X-Google-Smtp-Source: AIpwx49t8dxFYM1vF2iEQY9oqqbDxZdBHj/DBawRbaWqAJ7qCYTeJXPcCgutVlmlk6j8RZ8I6evu2g== X-Received: by 10.28.23.149 with SMTP id 143mr10193670wmx.0.1523871304566; Mon, 16 Apr 2018 02:35:04 -0700 (PDT) Received: from localhost.localdomain (146.187.3.109.rev.sfr.net. [109.3.187.146]) by smtp.gmail.com with ESMTPSA id t6sm2705335wre.32.2018.04.16.02.35.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Apr 2018 02:35:04 -0700 (PDT) From: Romain Izard To: Nicolas Ferre , Felipe Balbi , Greg Kroah-Hartman , Alexandre Belloni , Ludovic Desroches Subject: [PATCH 2/3] usb: gadget: udc: atmel: Remove obsolete include Date: Mon, 16 Apr 2018 11:34:04 +0200 Message-Id: <20180416093405.16612-3-romain.izard.pro@gmail.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180416093405.16612-1-romain.izard.pro@gmail.com> References: <20180416093405.16612-1-romain.izard.pro@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180416_023514_070507_A31D1E0B X-CRM114-Status: GOOD ( 13.06 ) 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. 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 */