From: Laxman Dewangan Date: Tue, 9 Jul 2013 13:04:21 +0000 (+0530) Subject: extcon: palmas: remove unused member from palams_usb structure X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=43e3f38892a6a521ff5901cdb97cf6985101badd;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git extcon: palmas: remove unused member from palams_usb structure 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 Acked-by: Graeme Gregory Signed-off-by: Chanwoo Choi Signed-off-by: Myungjoo Ham --- diff --git a/include/linux/mfd/palmas.h b/include/linux/mfd/palmas.h index 1a8dd7afe084..03c22ca55446 100644 --- a/include/linux/mfd/palmas.h +++ b/include/linux/mfd/palmas.h @@ -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; };