[Letux-kernel] [PATCH v2 3/4] Input: twl6040-vibra - do not reparent to grandparent

H. Nikolaus Schaller hns at goldelico.com
Thu Apr 21 13:43:49 CEST 2016


From: Dmitry Torokhov <dmitry.torokhov at gmail.com>

---
 drivers/input/misc/twl6040-vibra.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/input/misc/twl6040-vibra.c b/drivers/input/misc/twl6040-vibra.c
index f7e0d17..f4384b7 100644
--- a/drivers/input/misc/twl6040-vibra.c
+++ b/drivers/input/misc/twl6040-vibra.c
@@ -347,7 +347,6 @@ static int twl6040_vibra_probe(struct platform_device *pdev)
 
 	info->input_dev->name = "twl6040:vibrator";
 	info->input_dev->id.version = 1;
-	info->input_dev->dev.parent = pdev->dev.parent;
 	info->input_dev->close = twl6040_vibra_close;
 	__set_bit(FF_RUMBLE, info->input_dev->ffbit);
 
-- 
2.7.3



More information about the Letux-kernel mailing list