]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit70fb7a716afd1e74daafac869944cd1c9e2eefca
tree52b63551a65ffcbf385490e7101eb45e07170258
parent68aa9a18811e1dc4533b6897c7ac9ebd6eaa4b65
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