Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1168564 > unrolled thread
| Started by | Chanwoo Choi <cwchoi00@gmail.com> |
|---|---|
| First post | 2015-06-19 08:50 +0200 |
| Last post | 2015-06-19 08:50 +0200 |
| Articles | 2 — 1 participant |
Back to article view | Back to linux.kernel
[PATCH 0/4] extcon: Clean-up the minor issue and fix the NULL pointer error Chanwoo Choi <cwchoi00@gmail.com> - 2015-06-19 08:50 +0200
[PATCH 4/4] extcon: palmas: Remove the mutually_exclusive array Chanwoo Choi <cwchoi00@gmail.com> - 2015-06-19 08:50 +0200
| From | Chanwoo Choi <cwchoi00@gmail.com> |
|---|---|
| Date | 2015-06-19 08:50 +0200 |
| Subject | [PATCH 0/4] extcon: Clean-up the minor issue and fix the NULL pointer error |
| Message-ID | <pCYhI-82R-3@gated-at.bofh.it> |
This patch-set clean-up the minor issue and fix the NULL pointer error of extcon-palmas driver. And extcon driver don't support the bit operation to identify the external connectors from Linux v4.2. So, patch4 removes the bit data of mutually_exclusvie array. Chanwoo Choi (4): extcon: Remove duplicate header file in extcon.h extcon: Remove optional print_state() function pointer of struct extcon_dev extcon: palmas: Fix NULL pointer error extcon: palmas: Remove the mutually_exclusive array drivers/extcon/extcon-gpio.c | 18 ------------------ drivers/extcon/extcon-palmas.c | 10 ---------- drivers/extcon/extcon.c | 8 -------- include/linux/extcon.h | 7 ------- 4 files changed, 43 deletions(-) -- 2.2.0.GIT -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
[toc] | [next] | [standalone]
| From | Chanwoo Choi <cwchoi00@gmail.com> |
|---|---|
| Date | 2015-06-19 08:50 +0200 |
| Subject | [PATCH 4/4] extcon: palmas: Remove the mutually_exclusive array |
| Message-ID | <pCYhI-82R-15@gated-at.bofh.it> |
| In reply to | #1168564 |
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>
---
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web