summaryrefslogtreecommitdiff
path: root/drivers/extcon
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/extcon')
-rw-r--r--drivers/extcon/extcon-palmas.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/drivers/extcon/extcon-palmas.c b/drivers/extcon/extcon-palmas.c
index 089f064eadd1..ad2d8c0f3643 100644
--- a/drivers/extcon/extcon-palmas.c
+++ b/drivers/extcon/extcon-palmas.c
@@ -1,7 +1,7 @@
/*
* palmas-extcon.c -- Palmas VBUS detection in extcon framework.
*
- * Copyright (c) 2013, NVIDIA Corporation.
+ * Copyright (c) 2013, NVIDIA CORPORATION. All rights reserved.
*
* Author: Laxman Dewangan <ldewangan@nvidia.com>
*
@@ -75,15 +75,6 @@ static int palmas_extcon_vbus_cable_update(
(status & PALMAS_INT3_LINE_STATE_VBUS) ? "Valid" : "Invalid",
status);
- if (status & PALMAS_INT3_LINE_STATE_ID)
- extcon_set_cable_state(palma_econ->edev, "USB-Host", true);
- else
- extcon_set_cable_state(palma_econ->edev, "USB-Host", false);
-
- dev_info(palma_econ->dev, "ID %s status: 0x%02x\n",
- (status & PALMAS_INT3_LINE_STATE_VBUS) ? "Valid" : "Invalid",
- status);
-
return 0;
}