From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932121AbbFSGtC (ORCPT ); Fri, 19 Jun 2015 02:49:02 -0400 Received: from mail-pa0-f54.google.com ([209.85.220.54]:34359 "EHLO mail-pa0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751900AbbFSGsa (ORCPT ); Fri, 19 Jun 2015 02:48:30 -0400 From: Chanwoo Choi X-Google-Original-From: Chanwoo Choi Cc: linux-kernel@vger.kernel.org, cwchoi00@gmail.com, myungjoo.ham@samsung.com, kyungmin.park@samsung.com Subject: [PATCH 4/4] extcon: palmas: Remove the mutually_exclusive array Date: Fri, 19 Jun 2015 15:48:15 +0900 Message-Id: <1434696495-28131-5-git-send-email-cw00.choi@samsung.com> X-Mailer: git-send-email 2.2.0.GIT In-Reply-To: <1434696495-28131-1-git-send-email-cw00.choi@samsung.com> References: <1434696495-28131-1-git-send-email-cw00.choi@samsung.com> To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch removes the mutually_exclusive array of extcon-palmas.c. After used the unique id of each external connector on 2a9de9c0f08d ("extcon: Use the unique id for external connector instead of string"), extcon driver can't directly handle the bit value indicating the external connectors. Signed-off-by: Chanwoo Choi --- drivers/extcon/extcon-palmas.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/extcon/extcon-palmas.c b/drivers/extcon/extcon-palmas.c index 4e7335f..12ce2a3 100644 --- a/drivers/extcon/extcon-palmas.c +++ b/drivers/extcon/extcon-palmas.c @@ -35,8 +35,6 @@ static const unsigned int palmas_extcon_cable[] = { EXTCON_NONE, }; -static const int mutually_exclusive[] = {0x3, 0x0}; - static void palmas_usb_wakeup(struct palmas *palmas, int enable) { if (enable) @@ -195,7 +193,6 @@ static int palmas_usb_probe(struct platform_device *pdev) dev_err(&pdev->dev, "failed to allocate extcon device\n"); return -ENOMEM; } - palmas_usb->edev->mutually_exclusive = mutually_exclusive; status = devm_extcon_dev_register(&pdev->dev, palmas_usb->edev); if (status) { -- 2.2.0.GIT