From patchwork Thu Aug 3 08:20:48 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanwoo Choi X-Patchwork-Id: 9878407 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 9B26A6037D for ; Thu, 3 Aug 2017 08:22:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8623F2888A for ; Thu, 3 Aug 2017 08:22:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7A77228895; Thu, 3 Aug 2017 08:22:00 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 007CB2888A for ; Thu, 3 Aug 2017 08:21:59 +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=W2wcTtl+paZsHiK1LQQ2j+Es+xHn+XMAavfwRPq0gxY=; b=RTIqQAedbhwQD1is0a2FdoZU6a 4FsUKfZDwNN8Hq8e/PB09vjB35LwUo6ppxrEHlRTbTFReMSQ109qda4Lu/thFThtJvIE3Q/VwBkf6 xf/INsdvvtl6t8dwY0HgkZDgjWLgf5IUk7luvH90POORkeA0iDcSrso2k2GcSKj1EGMvkrG7xMEek 95bITXUEtBtO5L7LIKAhJppeEg9D+apor8W2UDseyqsSHb1/ULBz2KHAXgflN8ntOUOJUxRKwQMmJ 4BALFxW3Cl54Yu+dUBBXgfoFTdsQnCBk3OAv9d52G0Xr7E/PcIZVf+PXCgfzzKA2oI2vu0nd2fH7s w3XKXwwQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1ddBOI-0005W6-4V; Thu, 03 Aug 2017 08:21:58 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1ddBNj-0004yi-55 for linux-arm-kernel@lists.infradead.org; Thu, 03 Aug 2017 08:21:27 +0000 Received: from epcas1p4.samsung.com (unknown [182.195.41.48]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20170803082051epoutp031500faa18800acfe2b0c75c253ac92b6~XSEKLXj2_2171321713epoutp03q; Thu, 3 Aug 2017 08:20:51 +0000 (GMT) Received: from epsmges1p5.samsung.com (unknown [182.195.40.66]) by epcas1p2.samsung.com (KnoxPortal) with ESMTP id 20170803082050epcas1p2a75ab5947474dc98f99516c06b919463~XSEJxuPgP2090620906epcas1p2w; Thu, 3 Aug 2017 08:20:50 +0000 (GMT) Received: from epcas1p1.samsung.com ( [182.195.41.45]) by epsmges1p5.samsung.com (Symantec Messaging Gateway) with SMTP id A3.3B.18934.2ECD2895; Thu, 3 Aug 2017 17:20:50 +0900 (KST) Received: from epsmgms2p1.samsung.com (unknown [182.195.42.79]) by epcas1p3.samsung.com (KnoxPortal) with ESMTP id 20170803082050epcas1p38d70b5df911a855708c891b659a56fce~XSEJfRzfZ3132431324epcas1p32; Thu, 3 Aug 2017 08:20:50 +0000 (GMT) X-AuditID: b6c32a39-f794a6d0000049f6-a4-5982dce201a3 Received: from epmmp1.local.host ( [203.254.227.16]) by epsmgms2p1.samsung.com (Symantec Messaging Gateway) with SMTP id 51.FB.06213.2ECD2895; Thu, 3 Aug 2017 17:20:50 +0900 (KST) Received: from localhost.localdomain ([10.113.62.212]) by mmp1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OU3008ZJOIPQFB0@mmp1.samsung.com>; Thu, 03 Aug 2017 17:20:50 +0900 (KST) From: Chanwoo Choi To: balbi@kernel.org Subject: [PATCH v2 5/5] extcon: Remove deprecated extcon_set/get_cable_state_() Date: Thu, 03 Aug 2017 17:20:48 +0900 Message-id: <1501748448-26821-6-git-send-email-cw00.choi@samsung.com> X-Mailer: git-send-email 1.8.0 In-reply-to: <1501748448-26821-1-git-send-email-cw00.choi@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrAKsWRmVeSWpSXmKPExsWy7bCmru6jO02RBnf2Wlgca3vCbjHxxhUW i+tfnrNaNC9ez2Zx4WkPm8Wmx9dYLS7vmsNmsWhZK7PF7cYVbA6cHptWdbJ57J+7ht1j85J6 j74tqxg9jt/YzuTxeZNcAFtUqk1GamJKapFCal5yfkpmXrqtkndwvHO8qZmBoa6hpYW5kkJe Ym6qrZKLT4CuW2YO0FFKCmWJOaVAoYDE4mIlfTubovzSklSFjPziElulaENDIz1DA3M9IyMj PRPjWCsjU6CShNSMvxcOMxb0c1Y82fKaqYHxFnsXIyeHhICJxMdpLUwQtpjEhXvr2boYuTiE BHYwSkxY+JAVwvnMKHHq0ww2mI6Xsz+zw1X19T+HavnBKHFl0S6wKjYBLYn9L26A2SICIhJt z2cwgRQxC1xllNh0r5kRJCEsECgx/+EqVhCbRUBVYuadjywgNq+Aq8TEnq+MEOvkJD7seQR2 LKeAm8S9e7+YQQZJCHSzSzT8WgqU4AByZCU2HWCGqHeROPxrKtRzwhKvjm+BsqUkGl8+ZILo bWeU2DznHguE08EocX9lIytElbHEqa5GcHAwC/BJvPvawwqxgFeio00IosRDYv+MOVB7HSVm bbGG+H4mo8SnJ/MYJzDKLGBkWMUollpQnJueWmxYYKpXnJhbXJqXrpecn7uJEZyatCx3MB47 53OIUYCDUYmHt+NGY6QQa2JZcWXuIUYJDmYlEd59t5oihXhTEiurUovy44tKc1KLDzGaAsNp IrOUaHI+MG3mlcQbmlgamJgZAVOJpaGhkjiv6PprEUIC6YklqdmpqQWpRTB9TBycUg2MsXk7 ZN97JH4ydPhpbl7S8mLjbN7con07BcNWpn89+qZPqc1B7y1j7OYbp5duflY1+dbjAoYI3UkL WVd377dP3F324GTnE9mnBWxTpTUV/p3zeZnUmntnbvONL+wng6amz9z+6IfVhuYP/x8E3D3r Ubn4soRf+4opDVcL752psuIrfmJf8d6cW4mlOCPRUIu5qDgRALM5ge1jAwAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrFLMWRmVeSWpSXmKPExsVy+t9jAd1Hd5oiDS4sUbM41vaE3WLijSss Fte/PGe1aF68ns3iwtMeNotNj6+xWlzeNYfNYtGyVmaL240r2Bw4PTat6mTz2D93DbvH5iX1 Hn1bVjF6HL+xncnj8ya5ALYoN5uM1MSU1CKF1Lzk/JTMvHRbpdAQN10LJYW8xNxUW6UIXd+Q ICWFssScUiDPyAANODgHuAcr6dsluGX8vXCYsaCfs+LJltdMDYy32LsYOTkkBEwkXs7+DGWL SVy4t56ti5GLQ0hgG6NEd88XFgjnB6NE670PrCBVbAJaEvtf3GADsUUERCTans9gAiliFrjK KHHi920WkISwgL9E17/rTCA2i4CqxMw7H8HivAKuEhN7vjJCrJOT+LDnEdhqTgE3iXv3fjGD 2EJANe8bHrNOYORdwMiwilEstaA4Nz232KjAUK84Mbe4NC9dLzk/dxMjMNy3Hdby38H442z0 IUYBDkYlHt6OG42RQqyJZcWVuYcYJTiYlUR4991qihTiTUmsrEotyo8vKs1JLT7EaAp01kRm KdHkfGAs5pXEG5pYGpkYmJkZGhkYmymJ804I/BIhJJCeWJKanZpakFoE08fEwSnVwJhTn2RU dJFF9fl5xcscbZ+cpli/UnCf7DQrL+Tr0emCUhfFPl9+fP2QQkWW/k4NS5GyjwnbrkoEOQer Hr6TsbZrf/mF/JsCoYsuKDR/+7vGNE1+5/I126PKmz0vPirZ2+KiNHFV8l4P8SKBBv3mNXEH drS6NWy94P7p8rnbLM5vd729udFu+yQlluKMREMt5qLiRAAAI4TXjQIAAA== X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170803082050epcas1p38d70b5df911a855708c891b659a56fce X-Msg-Generator: CA X-Sender-IP: 182.195.42.79 X-Local-Sender: =?UTF-8?B?7LWc7LCs7JqwG1RpemVuIFBsYXRmb3JtIExhYihTL1fshLw=?= =?UTF-8?B?7YSwKRvsgrzshLHsoITsnpAbU2VuaW9yIEVuZ2luZWVy?= X-Global-Sender: =?UTF-8?B?Q2hhbndvbyBDaG9pG1RpemVuIFBsYXRmb3JtIExhYi4bU2Ft?= =?UTF-8?B?c3VuZyBFbGVjdHJvbmljcxtTZW5pb3IgRW5naW5lZXI=?= X-Sender-Code: =?UTF-8?B?QzEwG1RFTEUbQzEwVjgxMTE=?= CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20170803082050epcas1p38d70b5df911a855708c891b659a56fce X-RootMTR: 20170803082050epcas1p38d70b5df911a855708c891b659a56fce References: <1501748448-26821-1-git-send-email-cw00.choi@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170803_012123_355254_6AD61532 X-CRM114-Status: GOOD ( 10.75 ) 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: gregkh@linuxfoundation.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, kishon@ti.com, cw00.choi@samsung.com, myungjoo.ham@samsung.com, chanwoo@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 commit 575c2b867ee0 ("extcon: Rename the extcon_set/get_state() to maintain the function naming pattern") renames the extcon function as following: But, the extcon just keeps the old API to prevent the build error. This patch removes the deprecatd extcon API. - extcon_get_cable_state_() -> extcon_get_state() - extcon_set_cable_state_() -> extcon_set_state_sync() Signed-off-by: Chanwoo Choi --- include/linux/extcon.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/include/linux/extcon.h b/include/linux/extcon.h index 7e206a9f88db..3ba02eecba2e 100644 --- a/include/linux/extcon.h +++ b/include/linux/extcon.h @@ -422,15 +422,4 @@ static inline int extcon_unregister_interest(struct extcon_specific_cable_nb { return -EINVAL; } - -static inline int extcon_get_cable_state_(struct extcon_dev *edev, unsigned int id) -{ - return extcon_get_state(edev, id); -} - -static inline int extcon_set_cable_state_(struct extcon_dev *edev, unsigned int id, - bool cable_state) -{ - return extcon_set_state_sync(edev, id, cable_state); -} #endif /* __LINUX_EXTCON_H__ */