]> 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)
commit2fc46b7181dc74960e3c3b7a462bfef5d6b6672a
tree52b63551a65ffcbf385490e7101eb45e07170258
parent65334541bf997e58481477811b71515cc1d9e270
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