extcon: palmas: remove unused member from palams_usb structure
authorLaxman Dewangan <ldewangan@nvidia.com>
Tue, 9 Jul 2013 13:04:21 +0000 (18:34 +0530)
committerChanwoo Choi <cw00.choi@samsung.com>
Sun, 4 Aug 2013 23:53:33 +0000 (08:53 +0900)
Remove unused member vbus_enable and set_vbus_work from palmas_usb
as these members are not used in drivers.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Acked-by: Graeme Gregory <gg@slimlogic.co.uk>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Myungjoo Ham <myungjoo.ham@samsung.com>
include/linux/mfd/palmas.h

index 1a8dd7afe0844b81e3f760c9ca80a9ea8dff21e6..03c22ca554462cae5206e8a769b2232a4ad93a3f 100644 (file)
@@ -371,16 +371,11 @@ struct palmas_usb {
 
        struct extcon_dev edev;
 
-       /* used to set vbus, in atomic path */
-       struct work_struct set_vbus_work;
-
        int id_otg_irq;
        int id_irq;
        int vbus_otg_irq;
        int vbus_irq;
 
-       int vbus_enable;
-
        enum palmas_usb_state linkstat;
 };