extcon: remove EXTCON_PROP_USB_ID property
authorHuang, Tao <huangtao@rock-chips.com>
Fri, 7 Oct 2016 03:59:39 +0000 (11:59 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Fri, 7 Oct 2016 07:27:44 +0000 (15:27 +0800)
Fix commit 536277d5500a ("FROMLIST: extcon: Add the support for
extcon property according to extcon type"), which introduce
EXTCON_PROP_USB_ID property, but upstream don't have such property.
Remove it make merge easy.

Change-Id: I7905049629aa85158b7e705b40018f83fa85a9ac
Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
include/linux/extcon.h

index 950f8491fa6ad50b8cad5783e00f2ade76a14832..ad7a1606a7f3bab3b0c3cb208e6a8b8e0ada437b 100644 (file)
 /*
  * Properties of EXTCON_TYPE_USB.
  *
- * - EXTCON_PROP_USB_ID
- * @type:      integer (intval)
- * @value:     0 (low) or 1 (high)
- * @default:   0 (low)
  * - EXTCON_PROP_USB_VBUS
  * @type:      integer (intval)
  * @value:     0 (low) or 1 (high)
  * @value:     0 (normal) or 1 (flip)
  * @default:   0 (normal)
  */
-#define EXTCON_PROP_USB_ID             0
-#define EXTCON_PROP_USB_VBUS           1
-#define EXTCON_PROP_USB_TYPEC_POLARITY 2
+#define EXTCON_PROP_USB_VBUS           0
+#define EXTCON_PROP_USB_TYPEC_POLARITY 1
 
 #define EXTCON_PROP_USB_MIN            0
-#define EXTCON_PROP_USB_MAX            2
+#define EXTCON_PROP_USB_MAX            1
 #define EXTCON_PROP_USB_CNT    (EXTCON_PROP_USB_MAX - EXTCON_PROP_USB_MIN + 1)
 
 /* Properties of EXTCON_TYPE_CHG. */