Message ID | 1500254456-6525-6-git-send-email-cw00.choi@samsung.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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 AA0D560392 for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 17 Jul 2017 01:23:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9B21D26E5D for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 17 Jul 2017 01:23:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8FBED26E97; Mon, 17 Jul 2017 01:23:13 +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 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 29FB926E5D for <patchwork-linux-arm@patchwork.kernel.org>; Mon, 17 Jul 2017 01:23:13 +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=a6zrBw+16DWaFjIJU8nyCBKEC7 Az0eZQmd8cSsyn/mShnhEeku7VxXshDmdbKVsG5nxtZMhe8KLYHBH3g5sH8WGM6DEYsNoplKrAk0B eb97/7n+foMj6LwyNaltzgFHduX8z/Q2jOZsxrpil7YNr0d5SWCPpbxjneFIz0mv50uiwVRtzyaa2 OlapepS2KcGUObomvGELHJjFYY1dVSKYMf/XuNt6i6ahpFFLFhIZUe5T4a9zIuxKLuBKV/G8T6EUA ItA/giqD73wS1NzM+Md7Oq7xMAug5NcUGvw7l1secinjX2/t4ffrwBihvn2WJQLcxPLsaB7T8kk2d JKzi9e/A==; 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 1dWukg-0001Ea-Aq; Mon, 17 Jul 2017 01:23:10 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dWuj4-00085B-SV for linux-arm-kernel@lists.infradead.org; Mon, 17 Jul 2017 01:21:34 +0000 Received: from epcas1p4.samsung.com (unknown [182.195.41.48]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20170717012059epoutp030cc874410ea979ed4135e03ac1bcf396~R_XtZbA4K0854908549epoutp036; Mon, 17 Jul 2017 01:20:59 +0000 (GMT) Received: from epsmges1p5.samsung.com (unknown [182.195.40.65]) by epcas1p3.samsung.com (KnoxPortal) with ESMTP id 20170717012058epcas1p363390118ee671476baa424e50336c39b~R_XtJHnZO0698406984epcas1p3G; Mon, 17 Jul 2017 01:20:58 +0000 (GMT) Received: from epcas1p4.samsung.com ( [182.195.41.48]) by epsmges1p5.samsung.com (Symantec Messaging Gateway) with SMTP id 84.1C.06732.AF01C695; Mon, 17 Jul 2017 10:20:58 +0900 (KST) Received: from epsmgms2p1.samsung.com (unknown [182.195.42.79]) by epcas1p1.samsung.com (KnoxPortal) with ESMTP id 20170717012058epcas1p136b3a1e55ec313d68b941bc34a8f0779~R_Xs63Dka2036620366epcas1p1K; Mon, 17 Jul 2017 01:20:58 +0000 (GMT) X-AuditID: b6c32a39-f794b6d000001a4c-e7-596c10fae3ae Received: from epmmp1.local.host ( [203.254.227.16]) by epsmgms2p1.samsung.com (Symantec Messaging Gateway) with SMTP id C4.E5.05076.AF01C695; Mon, 17 Jul 2017 10:20:58 +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 <0OT7001NHNQX1OA0@mmp1.samsung.com>; Mon, 17 Jul 2017 10:20:58 +0900 (KST) From: Chanwoo Choi <cw00.choi@samsung.com> To: kishon@ti.com, balbi@kernel.org, gregkh@linuxfoundation.org Subject: [PATCH 5/5] extcon: Remove deprecated extcon_set/get_cable_state_() Date: Mon, 17 Jul 2017 10:20:56 +0900 Message-id: <1500254456-6525-6-git-send-email-cw00.choi@samsung.com> X-Mailer: git-send-email 1.8.0 In-reply-to: <1500254456-6525-1-git-send-email-cw00.choi@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrHKsWRmVeSWpSXmKPExsWy7bCmge4vgZxIg4Pf9CyOtT1ht5h44wqL xfUvz1ktmhevZ7O48LSHzWLT42usFpd3zWGzWLSsldniduMKNgdOj02rOtk89s9dw+6xeUm9 R9+WVYwex29sZ/L4vEkugC0q1SYjNTEltUghNS85PyUzL91WyTs43jne1MzAUNfQ0sJcSSEv MTfVVsnFJ0DXLTMH6CglhbLEnFKgUEBicbGSvp1NUX5pSapCRn5xia1StKGhkZ6hgbmekZGR nolxrJWRKVBJQmrG3wuHGQv6OSuebHnN1MB4i72LkYNDQsBE4u+J+i5GTiBTTOLCvfVsXYxc HEICOxglPh79zwrhfGaUWHv+KzNElYlE0/mn7HBV3RcuM0E4PxglHk77xwpSxSagJbH/xQ02 kBUiAvYSm99lgdQwC6xilDhz+wALSI2wgI/EmflX2E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jMKi3Hdby38H442z0IUYBDkYlHt4byVmR QqyJZcWVuYcYJTiYlUR41XhzIoV4UxIrq1KL8uOLSnNSiw8xmgKdMpFZSjQ5HxhxeSXxhiaW RiYGZmaGRgbGZkrivBMCv0QICaQnlqRmp6YWpBbB9DFxcEo1MCpUMvAViC5iMhNJfB+09Ulz 0+/ireyCZTO+POSR0+qeUXauVsV1hUd4zWEecV02toXrbFJTD14xL3n8KzaF5WNoj+3nc9PP S6xXvvr0kKfBlK1uNhv3StZO0HHSbmG5KML6a9rM5I8WPk+D31/0fd536MZUU43VlXaRXSkf WlXfLtu/i6vppBJLcUaioRZzUXEiAKSeTHuAAgAA X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170717012058epcas1p136b3a1e55ec313d68b941bc34a8f0779 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: 20170717012058epcas1p136b3a1e55ec313d68b941bc34a8f0779 X-RootMTR: 20170717012058epcas1p136b3a1e55ec313d68b941bc34a8f0779 References: <1500254456-6525-1-git-send-email-cw00.choi@samsung.com> <CGME20170717012058epcas1p136b3a1e55ec313d68b941bc34a8f0779@epcas1p1.samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170716_182131_405979_01F5FA3E X-CRM114-Status: GOOD ( 10.19 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, cw00.choi@samsung.com, myungjoo.ham@samsung.com, chanwoo@kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
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__ */
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 <cw00.choi@samsung.com> --- include/linux/extcon.h | 11 ----------- 1 file changed, 11 deletions(-)