diff options
author | Chanwoo Choi <cw00.choi@samsung.com> | 2015-06-11 07:46:07 -0400 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2015-08-09 22:48:55 -0400 |
commit | 1fe189bfb0fa2b01cea6464a0a6a98f5f118a376 (patch) | |
tree | eee53a9d6e87117226a072226bc79b765604ce74 | |
parent | 2519b7650e99d90643a7a20d623513de9c95a817 (diff) |
extcon: palmas: Remove the mutually_exclusive array
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 <cw00.choi@samsung.com>
-rw-r--r-- | drivers/extcon/extcon-palmas.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/extcon/extcon-palmas.c b/drivers/extcon/extcon-palmas.c index eebdf2a33bfe..8933e7e0d9da 100644 --- a/drivers/extcon/extcon-palmas.c +++ b/drivers/extcon/extcon-palmas.c | |||
@@ -35,8 +35,6 @@ static const unsigned int palmas_extcon_cable[] = { | |||
35 | EXTCON_NONE, | 35 | EXTCON_NONE, |
36 | }; | 36 | }; |
37 | 37 | ||
38 | static const int mutually_exclusive[] = {0x3, 0x0}; | ||
39 | |||
40 | static void palmas_usb_wakeup(struct palmas *palmas, int enable) | 38 | static void palmas_usb_wakeup(struct palmas *palmas, int enable) |
41 | { | 39 | { |
42 | if (enable) | 40 | if (enable) |
@@ -195,7 +193,6 @@ static int palmas_usb_probe(struct platform_device *pdev) | |||
195 | dev_err(&pdev->dev, "failed to allocate extcon device\n"); | 193 | dev_err(&pdev->dev, "failed to allocate extcon device\n"); |
196 | return -ENOMEM; | 194 | return -ENOMEM; |
197 | } | 195 | } |
198 | palmas_usb->edev->mutually_exclusive = mutually_exclusive; | ||
199 | 196 | ||
200 | status = devm_extcon_dev_register(&pdev->dev, palmas_usb->edev); | 197 | status = devm_extcon_dev_register(&pdev->dev, palmas_usb->edev); |
201 | if (status) { | 198 | if (status) { |