From patchwork Sun Jul 21 07:36:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 169313 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp6058861ilk; Sun, 21 Jul 2019 00:37:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqzJ/ioH5otw4k64lDoJktbEw1+8moSha2lktiXTFJnJlPIhtmZ1YLej9ZLJHQcPvoZFMAA9 X-Received: by 2002:a63:3203:: with SMTP id y3mr65804568pgy.191.1563694653464; Sun, 21 Jul 2019 00:37:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563694653; cv=none; d=google.com; s=arc-20160816; b=ZPJg3Wx27VJHCJ6u4L7Xha/MkiihiI5qha02pKik49TLkUAzy0Gub9BAXUMoRiFEGp tRoAs8HRpuAWX76nm99QykDlICKp8voV+gRXKrnJnKobrpJyLkcaXZbXoppPpt3XTg0n L/V1UbAc2PtyERAwQULbbFolCJxgG04kBltEwqdCln8okRCRSDyJc0tWxOWYBuDu1FEg 3w5zgDat35FIS9oVe6790n9ohHUoXMhY+BMtIfqq9iSGQu3C/9zsyTlDpSiuPSgRbLJE 0BbP9P5K2c+1iSRHG80mMq8EwX0tnSfbK+zGxYza44vNR+IWCq7mSvcBH8bOuZ25fqTI NZDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter; bh=wTXJF9fhQh2D0Z3FIBOZ7YbgbP65Cu8NPe1b56CrBY4=; b=BYLVBS6BSvohMLPcW9lvpXPKAmhpbfHg52/VVDaYERKFiiEoGAcACiJxFnsmp8xus7 cujM66R1ahNrn5IOhkyPOINXc8wgS9Yt1phQwfga2qCwlJpEM6HvCZUyZpHr1yLKHcQ8 xzgiN/O5GiBNz2+ypzJCxITgWiyB1IMwBJaIe/EMaB9jirZqi7wala2Yap4LJGDYlV+0 N+7GsIw/3Ai7UUoTyEgrjYezH0qywXp2yF/OwVeCKD67pTpqVJPcZJKUF4kPz5KGcf/2 8Q266UWfroM41BEVDkYATsSzHc7iJikR2iy3b1QmIDXGjVq07n/dpasGJOVG2j7/foqM innQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=UUMyY7Pd; 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 t15si5923536ply.162.2019.07.21.00.37.32; Sun, 21 Jul 2019 00:37:33 -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; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=UUMyY7Pd; 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 S1726277AbfGUHhV (ORCPT + 29 others); Sun, 21 Jul 2019 03:37:21 -0400 Received: from conuserg-11.nifty.com ([210.131.2.78]:19482 "EHLO conuserg-11.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726022AbfGUHhV (ORCPT ); Sun, 21 Jul 2019 03:37:21 -0400 Received: from grover.flets-west.jp (softbank126026094249.bbtec.net [126.26.94.249]) (authenticated) by conuserg-11.nifty.com with ESMTP id x6L7app4023640; Sun, 21 Jul 2019 16:36:52 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-11.nifty.com x6L7app4023640 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1563694612; bh=wTXJF9fhQh2D0Z3FIBOZ7YbgbP65Cu8NPe1b56CrBY4=; h=From:To:Cc:Subject:Date:From; b=UUMyY7PdwUXFxgwVA1qrpTAkFxOMkkDnDinMaytewX3bPxk0jzE6ufeO/VW+mpAp1 0Ba8MmMi3em0cO8j5V2B9pGvZ2jnYzu1uR/faKEOx8HtUAZgjOAa0qxHC7L7wVvDbk WSGhCzvCJzvL7/eEvTiVHgFfs6HCKsNbR43VFHef0kRijq7TaUbxO4Pl3LYWz0kql8 Wpesc1sETHdLpA1mXg6Fj5lprMEXTuoeTRRy74qUwzrD4VfWObDF4IYreuor86ZXVV I9XC/dINSs6huiqAQ86CfcBUgkrLOm4mJGTwwQaHN8KsX9r/eJtzy4PeKo3aoBdjxW 7yCyu7drYPWkg== X-Nifty-SrcIP: [126.26.94.249] From: Masahiro Yamada To: Felipe Balbi , linux-usb@vger.kernel.org Cc: Masahiro Yamada , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org Subject: [PATCH] usb: dwc3: omap: squash include/linux/platform_data/dwc3-omap.h Date: Sun, 21 Jul 2019 16:36:49 +0900 Message-Id: <20190721073649.11100-1-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This enum is only used in drivers/usb/dwc3/dwc3-omap3.c Signed-off-by: Masahiro Yamada --- drivers/usb/dwc3/dwc3-omap.c | 7 +++- include/linux/platform_data/dwc3-omap.h | 43 ------------------------- 2 files changed, 6 insertions(+), 44 deletions(-) delete mode 100644 include/linux/platform_data/dwc3-omap.h -- 2.17.1 diff --git a/drivers/usb/dwc3/dwc3-omap.c b/drivers/usb/dwc3/dwc3-omap.c index ed8b86517675..4f51523a07ac 100644 --- a/drivers/usb/dwc3/dwc3-omap.c +++ b/drivers/usb/dwc3/dwc3-omap.c @@ -14,7 +14,6 @@ #include #include #include -#include #include #include #include @@ -106,6 +105,12 @@ #define USBOTGSS_UTMI_OTG_CTRL_SESSVALID BIT(2) #define USBOTGSS_UTMI_OTG_CTRL_VBUSVALID BIT(1) +enum dwc3_omap_utmi_mode { + DWC3_OMAP_UTMI_MODE_UNKNOWN = 0, + DWC3_OMAP_UTMI_MODE_HW, + DWC3_OMAP_UTMI_MODE_SW, +}; + struct dwc3_omap { struct device *dev; diff --git a/include/linux/platform_data/dwc3-omap.h b/include/linux/platform_data/dwc3-omap.h deleted file mode 100644 index 1d36ca874cc8..000000000000 --- a/include/linux/platform_data/dwc3-omap.h +++ /dev/null @@ -1,43 +0,0 @@ -/** - * dwc3-omap.h - OMAP Specific Glue layer, header. - * - * Copyright (C) 2010-2011 Texas Instruments Incorporated - http://www.ti.com - * All rights reserved. - * - * Author: Felipe Balbi - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions, and the following disclaimer, - * without modification. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. The names of the above-listed copyright holders may not be used - * to endorse or promote products derived from this software without - * specific prior written permission. - * - * ALTERNATIVELY, this software may be distributed under the terms of the - * GNU General Public License ("GPL") version 2, as published by the Free - * Software Foundation. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS - * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR - * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR - * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, - * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, - * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR - * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF - * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING - * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS - * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */ - -enum dwc3_omap_utmi_mode { - DWC3_OMAP_UTMI_MODE_UNKNOWN = 0, - DWC3_OMAP_UTMI_MODE_HW, - DWC3_OMAP_UTMI_MODE_SW, -};