Message ID | 1525307094-27402-8-git-send-email-jun.li@nxp.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-usb-owner@kernel.org> 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 249716038F for <patchwork-linux-usb@patchwork.kernel.org>; Thu, 3 May 2018 00:41:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1462229137 for <patchwork-linux-usb@patchwork.kernel.org>; Thu, 3 May 2018 00:41:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0931A29153; Thu, 3 May 2018 00:41:59 +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_SIGNED, 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 4477029137 for <patchwork-linux-usb@patchwork.kernel.org>; Thu, 3 May 2018 00:41:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751872AbeECAl4 (ORCPT <rfc822;patchwork-linux-usb@patchwork.kernel.org>); Wed, 2 May 2018 20:41:56 -0400 Received: from mail-eopbgr10054.outbound.protection.outlook.com ([40.107.1.54]:52001 "EHLO EUR02-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751747AbeECAlz (ORCPT <rfc822;linux-usb@vger.kernel.org>); Wed, 2 May 2018 20:41:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=4KjycDsSvQB2mUJAWlFJ1g+n3n5ODRZsoqHZGNvL7MI=; b=Lid222XVkawTL3Yr+UJL/J3Cs75lRHzhPG533CikNSznchARvST6eE+VvVkeXevD94c/D3ikDl3FcQqjlDhoe/60+Az9EWwWaT8lz+zzfLI5tD6hVOiY++XzivHMmnyiZmQ2kftS0I5TLSEM+/3LahpDpCMjx83d7jqihH1Fuek= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=jun.li@nxp.com; Received: from b47624-OptiPlex-7040.ap.freescale.net (92.121.68.129) by DB3PR0402MB3914.eurprd04.prod.outlook.com (2603:10a6:8:f::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.715.24; Thu, 3 May 2018 00:41:46 +0000 From: Li Jun <jun.li@nxp.com> To: robh+dt@kernel.org, gregkh@linuxfoundation.org, heikki.krogerus@linux.intel.com, linux@roeck-us.net Cc: jun.li@nxp.com, a.hajda@samsung.com, cw00.choi@samsung.com, shufan_lee@richtek.com, peter.chen@nxp.com, gsomlo@gmail.com, devicetree@vger.kernel.org, linux-usb@vger.kernel.org, linux-imx@nxp.com Subject: [PATCH v5 07/14] staging: typec: tcpci: remove unused tcpci_tcpc_config Date: Thu, 3 May 2018 08:24:47 +0800 Message-Id: <1525307094-27402-8-git-send-email-jun.li@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1525307094-27402-1-git-send-email-jun.li@nxp.com> References: <1525307094-27402-1-git-send-email-jun.li@nxp.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [92.121.68.129] X-ClientProxiedBy: OSAPR01CA0012.jpnprd01.prod.outlook.com (2603:1096:603:2a::24) To DB3PR0402MB3914.eurprd04.prod.outlook.com (2603:10a6:8:f::29) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:DB3PR0402MB3914; X-Microsoft-Exchange-Diagnostics: 1; DB3PR0402MB3914; 3:rB14euzNfuu+Upxd3p3nKoTGMt+dbNIOqK9bKpJlILtWmAvjgtc0QNWT5gDP/VQuAuS13f2tYlKj+/kLFFTDO/l5P+8BD6l4MijhOgkIjdKofLIraEcB/gbp9xJBLiVzpoVWdfBzHPyS0rCp3HS3keXuSbdn2vAIEleEhqhb69ZI7H4DloTLFRIl44OdeVBV237ZOa33wdRVQvq92tQRmyKiOpKc2oMbCizcJYkjMaNnULhpQ6b/3HlDCg7fClLb; 25:gIKKtdezPGosSZot9FMhgi0gBWkAmoGQc6gArSBqxmdvauHfRbJBTmfOHjSZzdQxMOEiLmW1GcnCEY6l1P0s9RM2eHSML72XR4dzmjPyWWkt8L+4VsAWMH40aaqHryOHJmBLEFZBNe0Hm9wFkgkChCj39F98E6FYRnUDzQ7Gd1Yu+E9y0MrJlgUIRcF9UIvEKdltrHGU01foquYu1T2tNTHtV8QALnm3CFzhFPVjw1s3T+5STw5r8oVgCE58lKsS5QMjzpg0sFBU8zZbYvaLAaCE7itPPA2pxpZ9ri/ujI4XOYIFhV4CCILSfCgkU0/uwxQBRwjwdVdiJRtTcfZlxA==; 31:vRz30z+LFKUaXktI9WRg4Uk/fsfs0ql8iDsAvmAYdPQ3PS9Uwv46XJaIaV8dcxC6lEKQpL9vThcuMYF+bmw0YiT3LMdxITPCwW5YxTJoSazuzju0WeRQ1SGHviGmEBklmtYkNkhWirPrPMNP09V3bRs1YvvN3L6nTzqFhe9YQnKtl5nhs/LWxpD/qCSaqdrqHd+i2dyFRT69JALf6YRVuqUgn3hewXTg7b9ttsekcIM= X-MS-TrafficTypeDiagnostic: DB3PR0402MB3914: X-Microsoft-Exchange-Diagnostics: 1; DB3PR0402MB3914; 20:G9z3/9ETrXqTC0cUlrMjdiZa+QQ2lC0noPVorWVt4y1+7im8PEYOQlrnscBzkPoEBW0gvNFEnuflJki6pD7j2HRjpxv3xVEY3vxeVazICVEdvk469sLub4/FMcdO7vl7ntfNKDl9OKjtDIamaCo59CkgRNMSprBfVxHt6yEThmoyQhWr5CWs7r5poDNyDGL4to7pEpvo9oFfTnewru5HaFTx+ojlDFki0MULo1jMLF/X+L9hUz4Ga7IZK6Jk5mTLrIvgD+oCnhj/eu03ACx0fMdKh3Ji0PETIO4NamyP7vU6TF56ktrnZ2q3P63koHgc101igfF2rhW5D6p9crbxtMZTXW5GeSLDiXbGTEctQDg42nG7amNJuXmy/EUkI0CBRP6OwmpE5kdnHC30eoHuqZGMydFPzGbLYC9idmDM3FXPRRvYpm1BAh9VyJZuRbXYMgKCx7mkjBjCJ8DoWrOidWNi6J9YoZonTGMQ/YWd6y9XvWBfFFUT3uBrdE5wVhi8; 4:AX4aKWjDvTEQvGLmFEgrfxbdPV1zqmuv5ph61F1TwL8nX+Mnt97CKpFBoXJoHyWB3BmRvhuDy4841p3UZTYuk64ng9L66q1b+C/bvg4JP37OtdEhW8fu4eOxcKt3dLRQY2ROZdbZtrBLHvT4C00W8ysFUSoBYmN7ubza0uUHescKyOnxIMmzTXuMpYUEvUgAujlUq89nfLdPrzWN/Ow5ciII4d4lrJ3tSBjbsjc15HaoshTMRwHgxOeLNIuO2LbbxSmagXw6oEkMsJaL97SqADdEh3GEOlFoz2jh1TD9WAqVwU3hz0sqFJCusgxGwEzR X-Microsoft-Antispam-PRVS: <DB3PR0402MB3914F6ACC10326B255AC367F89870@DB3PR0402MB3914.eurprd04.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(93006095)(93001095)(10201501046)(3231254)(944501410)(52105095)(6055026)(6041310)(20161123562045)(20161123560045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(6072148)(201708071742011); SRVR:DB3PR0402MB3914; BCL:0; PCL:0; RULEID:; SRVR:DB3PR0402MB3914; X-Forefront-PRVS: 066153096A X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(396003)(39380400002)(376002)(39860400002)(346002)(366004)(189003)(199004)(7416002)(47776003)(7736002)(8936002)(66066001)(305945005)(106356001)(2906002)(5660300001)(6486002)(105586002)(6116002)(3846002)(81166006)(8676002)(50226002)(68736007)(81156014)(36756003)(956004)(2616005)(386003)(16586007)(476003)(50466002)(6506007)(6512007)(97736004)(316002)(446003)(39060400002)(52116002)(26005)(76176011)(48376002)(4326008)(11346002)(486006)(16526019)(86362001)(51416003)(53936002)(186003)(478600001)(25786009)(21314002); DIR:OUT; SFP:1101; SCL:1; SRVR:DB3PR0402MB3914; H:b47624-OptiPlex-7040.ap.freescale.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DB3PR0402MB3914; 23:px/2NGBMD3KB/EGq39luF8dRJFZMF8AOdsQWyE+?= =?us-ascii?Q?XpBsrqieCHJ5UAVDpaAw3fLzIac+nYUgylNvowiRdXoVl4IKCAHm9n3y7uu0?= =?us-ascii?Q?6ol/WH5SxWyw3VEik3aZ8AxZMqs0ETLFk9uyT8U6vGkO4VOBeUNG1IW0f924?= =?us-ascii?Q?/CheEFuMjg9LL1So3H32o3Wz4rETPMiYRo1l8GmT59nr8wqGo4ksLkdgVuIS?= =?us-ascii?Q?8LbOvMD7YeBP47Mjmad8PyCy9iUyEf3sJGLkw3yjyLw6wn25mI38WnVMN1Gp?= =?us-ascii?Q?Qo4vvTba/6EP5KT35zrGG4Ib2KpZDId43yQcA4rT9r/cmrCLbhSjkSb4GNRE?= =?us-ascii?Q?3W6/HZpX0DKjlX4qdIM6eYf/u2PRxXwusUwjCWQpG9YTG9rjSliiPR2gqFFh?= =?us-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QeFUtnHtMc3DAGBZLtTU/NKP4ln0l+SZd6bXIz4aCDHS0JdxxvAueIiH+Gfhxuir+9FucaPeZ18YWAQ5S/JWOXz9KrC8hQsWIFzl2/4HuK4sePwWdQTbSn2QYL/Qp6UB59GXJ4uRJnHCwl0+DCiwuD2DzxtCuKVaKVOr5rJ0PFHXphi/PDmhi9OHBDJfj1jr9qiLydHfltapqIn5/LtgopxgZ3kJDeD X-MS-Office365-Filtering-Correlation-Id: f5e624f2-19f7-4dd8-f0f0-08d5b08ea981 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 May 2018 00:41:46.2721 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f5e624f2-19f7-4dd8-f0f0-08d5b08ea981 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0402MB3914 Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: <linux-usb.vger.kernel.org> X-Mailing-List: linux-usb@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/staging/typec/tcpci.c b/drivers/staging/typec/tcpci.c index 01d14fb..a21aaf5 100644 --- a/drivers/staging/typec/tcpci.c +++ b/drivers/staging/typec/tcpci.c @@ -464,17 +464,10 @@ static const struct regmap_config tcpci_regmap_config = { .max_register = 0x7F, /* 0x80 .. 0xFF are vendor defined */ }; -static const struct tcpc_config tcpci_tcpc_config = { - .type = TYPEC_PORT_DFP, - .default_role = TYPEC_SINK, -}; - static int tcpci_parse_config(struct tcpci *tcpci) { tcpci->controls_vbus = true; /* XXX */ - /* TODO: Populate struct tcpc_config from ACPI/device-tree */ - tcpci->tcpc.config = &tcpci_tcpc_config; tcpci->tcpc.fwnode = device_get_named_child_node(tcpci->dev, "connector"); if (!tcpci->tcpc.fwnode) {
Since we will use config settings via device properties, so remove the hard code tcpci_tcpc_config. Signed-off-by: Li Jun <jun.li@nxp.com> --- drivers/staging/typec/tcpci.c | 7 ------- 1 file changed, 7 deletions(-)