Input: twl6040-vibra - do not reparent to grandparent
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 19 Apr 2016 16:50:09 +0000 (09:50 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 20 Apr 2016 21:39:45 +0000 (14:39 -0700)
commit4bfeefd085acf1ab70ecda6087fad6c32b2b065f
tree52b63551a65ffcbf385490e7101eb45e07170258
parent5f7fb6f1e514e0ed47aee97752d6ae10491b4841
Input: twl6040-vibra - do not reparent to grandparent

For devm-managed input devices we should not modify input device's parent,
otherwise automatic release of resources will not work properly.

Tested-by: "H. Nikolaus Schaller" <hns@goldelico.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/twl6040-vibra.c